Hey All,
Here is what I need help with:
I need to know how to count how many letters long a filename is, then rename the file with the same name except the first 16 digits - in ASP.
Can anyone give me the code / suggest another forum that might be more appropriate for my question?
----------
Why / reason:
I'm looking for some help writting a script to rename files. I am using Dundas Upload with the UseUniqueFileNames = true (because I don't want files to overwrite existing files and I can't use the temp directory feature). Anyways, once the file is uploaded I want to be able to check if a similar file exists on the server and if not, rename the file without the UniqueFilename (Dundas adds about 16 characters).
ie:
I need to know how to take a filename that I have saved as a variable (ie: file1.zip) and rename the actual file (that includes a 16digit unique key, ie: filename 1111222233334444_file1.zip) to just the file1.zip.
thanks,
__________________
Cam.
: : fantom design
http://www.fantomdesign.com/