Need to be able to set filenames on data uploads
There needs to be functionality in metacat to allow the setting of a filename for data uploads. Currently, when you upload a data file, it is stored on disc as it's docid. When you go to download it, the MIME filename attribute is set as "data". There needs to be an interface added to set the MIME filename on upload so that when you download the file, the correct filename can be put into the MIME encoding.
This will probably require adding a field to xml_documents to store the filename. The appropriate interfaces on the ecogrid also need to be updated so that this functionality is available via the grid.
#1 Updated by Matt Jones almost 13 years ago
This bug is a close relative to bug # 2566, and verges on being a duplicate. The xml_documents table already contains a docname field that is used for storing the name of the document that is uploaded in the mime header. The correct naming behavior for download is being fixed by Shaun and is outlined on the wiki here: