搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to make setting in firefox to include local directory path when uploading files to a server

more options

Hi, I need to upload some files on a regular basis to a server. The requirement of the server is that I have to create a folder in C drive named "fakepath", put all my files there in a zip folder and then upload to the server. Further, while uploading the files to server, when I browse for C"\fakepath folder to select the zip folder that contains the files to be uploaded, then after selecting the file, full path of the file should appear in the box on the website from where I have to upload files on the server.

There is one setting in Internet Explorer where I have to enable "include local directory path when uploading files to a server" which I need to turn on and my problem is resolved. However, I could not find this setting in mozilla firefox. Please help me on this.

Hi, I need to upload some files on a regular basis to a server. The requirement of the server is that I have to create a folder in C drive named "fakepath", put all my files there in a zip folder and then upload to the server. Further, while uploading the files to server, when I browse for C"\fakepath folder to select the zip folder that contains the files to be uploaded, then after selecting the file, full path of the file should appear in the box on the website from where I have to upload files on the server. There is one setting in Internet Explorer where I have to enable "include local directory path when uploading files to a server" which I need to turn on and my problem is resolved. However, I could not find this setting in mozilla firefox. Please help me on this.

所有回覆 (2)

more options

So a really long time ago this was decided to not be exposed for privacy reasons on a user's computer: https://bugzilla.mozilla.org/show_bug.cgi?id=143220

There are some webdeveloper hacks around this however I did see in the bug above that you can expose and about:config entry if you want it local to your browser only.

more options

I think IE is the ONLY browser that has an exception for this.