michael-e/uniqueuploadfield — pull request #4 by nils-werner (2011-12-06 16:00:50+00:00)
Title: Get Original Filename

Hey Michael,

I've added some functionality to your unique upload field: The returned XML will now contain a new XML element:

test.jpg

It's basically guessing the old filename by removing the uniqueid() stuff via RegEx. It worked fine for a few files that I had uploaded and even when the file doesn't have any uniqueid stuff (a regular upload field ported to a unique uploadfield by fiddling in Symphony's tables).

Feel free to pull this into a separate branch if you want to give it some more time for testing. :-)