CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 timestamp and file upload component

Print topic Send  topic

Author Message
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.
View profile  Send private message
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
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.