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 |
 |
 |
|