I was uploading a .zip (via drag-n-drop to the menu extra) and getting a url that looked like this:
http://capturedeu.s3.amazonaws.com/oA3PyZiQ
But what I wanted was a url like this:
http://capturedeu.s3.amazonaws.com/oA3PyZiQ.zip
So this change inspects the path to the current file and will grab the file extension from that string and add it to the uploaded file. The actual file names are sill random generated strings.
I was uploading a .zip (via drag-n-drop to the menu extra) and getting a url that looked like this:
But what I wanted was a url like this:
So this change inspects the path to the current file and will grab the file extension from that string and add it to the uploaded file. The actual file names are sill random generated strings.