Opened 19 years ago

Closed 17 years ago

#21 closed enhancement (fixed)

FileUploadField should allow for manual filename entry

Reported by: Adrian Holovaty Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: trivial Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

FileUploadFields currently don't allow users to type in the name of an already-existing file -- the system forces them to upload a new file each time. There should be a way of designating a path/filename on the server.

It'd be great if there was some sort of filesystem-browsing interface, like the one Urchin has for selecting log sources.

Change History (5)

comment:1 by noah@…, 18 years ago

Resolution: invalid
Severity: normaltrivial
Status: newclosed

the file upload field is controled by the browser and for security reasons is as such. There have been many errors in browsers that have allowed things like password filed to be uploaded.

This is neither controled by django nor is it a good idea for the sake of security.

comment:2 by noah@…, 18 years ago

Sorry for the missunderstanding, I didn't realize you meant files already on the server.

This wouldn't be a bad idea but it would have to be fairly restricted so as not to allow things like /usr/someguy/bankinfo to be selected even if the webserver process DOES have access to it

comment:3 by Adrian Holovaty, 18 years ago

Resolution: invalid
Status: closedreopened

Uh, what? Please don't close tickets like this, unless they're blatantly invalid.

comment:4 by Gary Wilson <gary.wilson@…>, 18 years ago

Triage Stage: UnreviewedDesign decision needed

Is this different from FilePathField? And if so, are you envisioning two separate text input boxes, one for selecting files on the client's system to upload and one for selecting already existing files on the server?

comment:5 by Jacob, 17 years ago

Resolution: fixed
Status: reopenedclosed

Marking FIXED since FilePathField takes care of this need. FileFields are for uploads.

Note: See TracTickets for help on using tickets.
Back to Top