Jump to content

Make Download file name different than actual


wee493

Recommended Posts

I have an upload script that, well obviously lets you upload files. Once the file is uploaded the name is changed to the date,time,and second the file was uploaded to prevent from duplicate file names. The only thing is that users dont want to download a file called 09072015230.zip (the date is numeric). Is there a way for the server to "rename" the file so the client would download kittycat.zip instead of 09072015230.zip. I dont want the file to actually be renamed, just for the clients computer to download and save it as that.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.