#825 new enhancement

Cannot use WUI to upload a file with a name different to its name in the local filesystem

Reported by: davidsarah Owned by:
Priority: major Milestone: undecided
Component: code-frontend-web Version: 1.5.0
Keywords: usability Cc:
Launchpad Bug:

Description

The WUI file upload form uses an <input type="file"> HTML tag that (on all browsers I'm aware of) does not allow specifying what name the file will have once uploaded. That is, it will always have the same name as on the local filesystem.

To close this ticket, add a text input field to the file upload form that allows the user to override the name. If this field is blank on submission, the name of the local file is used.

Possible enhancement: add an onClick handler to the file upload button so that if the name field was blank, it is updated with the local filename (not the full path). This enhancement would depend on JavaScript, but the main functionality still works if scripting is disabled.

Change History (0)

Note: See TracTickets for help on using tickets.