搜尋 Mozilla 技術支援網站

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

了解更多

Set download location to sdcard

more options

I followed this guide to achieve that:

1) Open a new tab to about:config (type about:config in the Awesomebar and tap the go arrow or tap Enter).

You may want to bookmark this for easier future access.

(2) On the search line, type down and pause while Firefox filters the list

(3) Scroll down to browser.download.folderList and tap it to display the editing controls. Change the value from 1 to 2 (from "default always" to "last used folder").

(3) Tap the large "+" above the list to add a new setting

(A) On the right side, you see "Boolean" tap that and change to "String"

(B) The name of the preference should be browser.download.dir (this stores the last used directory)

(C) The value depends on the folder you want. For example:

/sdcard/FxDown

But when I try to download something, nothing happens. If I try to set an inexistent path or a correct path in the internal storage firefox will download the file in the default download path or in the correct path. I suspect that Firefox needs to ask the permission to write in the sdcard but it is not programmed to do that. Any suggestion?

I have a sony xperia x on android 8.0.

I followed this guide to achieve that: 1) Open a new tab to about:config (type about:config in the Awesomebar and tap the go arrow or tap Enter). You may want to bookmark this for easier future access. (2) On the search line, type down and pause while Firefox filters the list (3) Scroll down to browser.download.folderList and tap it to display the editing controls. Change the value from 1 to 2 (from "default always" to "last used folder"). (3) Tap the large "+" above the list to add a new setting (A) On the right side, you see "Boolean" tap that and change to "String" (B) The name of the preference should be browser.download.dir (this stores the last used directory) (C) The value depends on the folder you want. For example: /sdcard/FxDown But when I try to download something, nothing happens. If I try to set an inexistent path or a correct path in the internal storage firefox will download the file in the default download path or in the correct path. I suspect that Firefox needs to ask the permission to write in the sdcard but it is not programmed to do that. Any suggestion? I have a sony xperia x on android 8.0.

所有回覆 (3)

more options

Clyde_271 said

But when I try to download something, nothing happens. If I try to set an inexistent path or a correct path in the internal storage firefox will download the file in the default download path or in the correct path. I suspect that Firefox needs to ask the permission to write in the sdcard but it is not programmed to do that. Any suggestion?

That is a good guess and if that is the situation, I don't know of a solution. As you can tell by the many "back door" steps involved, changing the download folder isn't a priority feature for development.

more options

If you have not granted Firefox the storage permission then downloads will not function. You can manually grant it by opening the Android settings. Then in the Apps or Applications section find Firefox. Then grant Firefox the storage permission and re-try downloading a file.

more options

You may need to place your download folder under a specific Firefox folder. More discussion in this thread:

https://support.mozilla.org/questions/1235944

For example:

/path-to-sdcard/Android/data/org.mozilla.firefox/Download