Open Bug 21482 Opened 20 years ago Updated 8 months ago

Improvement to Save File dialog: folder based on URL


(Firefox :: File Handling, enhancement, P3)





(Reporter: jamey, Unassigned)


Perhaps this really should be in the standardized dialogs for whatever window
manager, but NS is bad about it's file save dialog.

Could we get a way to save preferences, based on a regex of the URL, for the
initial directory that the File Save dialog puts you into?  Also great would be
creating directories, removing directories, and automatically sequencing for
duplicate filenames.

Say, if you go to, it would automatically select
/pics/landscapes , where might go to /webart
Component: All → XPApps
Product: Architecture → Browser
Version: 5.0 → other
Assignee: brendan → law
Target Milestone: M20
Some of these requests are implemented post M10 (not sure where you're coming
from).  Some of those don't work on Unix yet.

The features in the standard file picker dialog are outside of our control.

We remember the last-saved-to directory (and store it in prefs so you see it
next browsing session).  I don't remembering different locations per url is
feasible at this time.  To use the info is relatively easy.  But adding a prefs
UI to edit the regex list is a bit beyond our resources.

I'm going to move this way off to the future but when we get there, it still
probably won't be a high-enough priority.  But thanks for your input nonetheless
and if you'd like to take a stab at doing the implementation yourself, I'll be
glad to help you out.
spam: added self to cc list as this might affect my test area.
Summary: [ENH] Improvement to Save File dialog → Improvement to Save File dialog
Move to "Future" milestone.
Target Milestone: M20 → Future
Extending summary to make it more distinctive and descriptive.
Summary: Improvement to Save File dialog → Improvement to Save File dialog: folder based on URL
nav triage team:

Would be nice, but won't have time during beta1, marking nsbeta1-
Keywords: nsbeta1-
Component: XP Apps → File Handling
QA Contact: shaver → sairuh
QA Contact: sairuh → petersen
A simpler approach (than regexp-based) that wouldn't require any UI would be
just to make it per-hostname, i.e. www.some.where and www.else.where would each
"remember" their Save directory, with a default for new sites (or this could
start from the most recently used one, as at present). I guess you might want UI
to clear the (otherwise ever-growing) list of hostnames, but to start with (at
least) this could be done behind existing UI for clearing the history.
Download Sort 2.5.8

Automatically save downloads to different directories when using "Save Link As..." or "Save Image as..."
Assignee: law → nobody
QA Contact: chrispetersen → file-handling
Product: Core → Firefox
Target Milestone: Future → ---
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.