Opened 10 years ago
Last modified 5 years ago
#12107 new enhancement
Update file via trac-admin
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | update |
Cc: | Trac Release: | 1.0 |
Description
The trac-admin 'download' command supports the following:
- download add - Add new download
- download list - Show uploaded downloads
- download remove - Remove uploaded download
I would like to update files that already exist. I guess I could remove it and add it again. The disadvantage is that the various properties that have been applied would need to be maintained (list/parse and then use in the add). The list command does not really offer something that is easy to parse as there are no field delimiters.
It would be great if there was a download update command. If it takes the name of the file or the ID is not important (to me at least). I guess the ID would be best as a file with the same name could exist more than once. It should maintain all existing information, except the file size and the uploaded date.
Attachments (0)
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 5 years ago by
Owner: | Ryan J Ollos deleted |
---|
Replying to roger.oberholtzer@…:
Or we can just extend the
add
command to allow anid
parameter, which would force an overwrite.It would also be good to support adding, listing and removing files through the xml-rpc interface.