CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 File Upload Component "Persist" Filename Change Before Save

Print topic Send  topic

Author Message
garycrunk

Posts: 23
Posted: 08/01/2007, 11:11 AM

I am trying to use the File-Upload Component (my server uses persist upload).

What I would like to do is to be able to change whatever the filename being uploaded.

Specifically, I need to change the filename.ext to recordnumber.ext.

For example, the user is editing record number 4015 and the record item is photo
The user uploads a file called myuglypicture.tif
I need to change the file name to 4015.tif

Can someone shed some light on what code I would use within the "Before Process File"

Many Thanks

_________________
Gary Crunk
Job Examiner
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.