jav
Posts: 8
|
| Posted: 09/17/2007, 6:26 PM |
|
I am aware of the necessity of appending the filename to a timestamp on upload. However, I am wondering is it possible to change the filename on the save as dialog to remove the timestamp? So, this would be the same action as me renaming timestamp.filename.extention to filename.extension, however having code do it for me. This would remove any confusion of the user wondering why they saved a filename as ‘filename.extension’ and having it reappear as ‘timestamp.filename.extention’ when they try to download it later. Any help would be appreciated.
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 09/17/2007, 7:35 PM |
|
jav
What is your test environment that you are working with? If you are working with PHP try this link: http://forums.codecharge.com/posts.php?post_id=90241
|
 |
 |
jav
Posts: 8
|
| Posted: 09/18/2007, 4:26 AM |
|
Thanks for your response. I meant modify the file name in save as dialog after a user has right clicked on the file link to access the file once it is on the server. I am using asp, however there should be a way to 'convert' the code into other languages.
I noticed the thread you provided and another thread about dynamic directories. It does build on one of my ideas whereby I would put each file in its own directory by using the timestamp as the directory name and stripping the timestamp once it is in its own unique subdirectory.
But, I am hoping there is an easier way as my thought in the previous paragraph would probably entail a lot of coding.
|
 |
 |
|