Hi!
I would like to rename uploaded files to a unique filename (based on date/time), but can´t seem to figure out how to.
I use following components: Persits AspUpload 3 and AspJpeg (AspJpeg i just for image resize..)
I have looked in to "/functions/functions_upload.asp", but with no luck

The filename should be something like this:
Dim ImageDate Dim MyNewFileName
ImageDate = Year(Now()) & "" & Month(Now()) & "" & Day(Now()) & "" & Hour(Now()) & "" & Minute(Now())& "" & Second(Now()) MyNewFileName = "websitename_"& ImageDate
|
Could anyone guide me or help with some code?
Thanks!