如何在laravel中获取上载文件的文件路径?似乎给了我错误的输出
UploadedFile {#2817 ▼
-test: false
-originalName: "logfile.dat"
-mimeType: "application/octet-stream"
-error: 1
#hashName: null
path: ""
filename: ""
basename: ""
pathname: ""
extension: ""
realPath: "C:\Users\Me\Desktop\LARAVEL-PROJ\public"
aTime: 1970-01-01 08:00:00
mTime: 1970-01-01 08:00:00
cTime: 1970-01-01 08:00:00
inode: false
size: false
perms: 00
owner: false
group: false
type: false
writable: false
readable: false
executable: false
file: false
dir: false
link: false
}