Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

UploadField with dateTime appended to filename

$
0
0

Hi

I'm trying to find a way of ensuring that users can't overwrite and existing uploaded file so that we will always have a full history of changes made.

My first thought was to append the current date/time to the filename at upload meaning it would always be unique. However I can't seem to find a way of doing this. Is it possible?

Or if there is another, better way I'd been keen to hear. Maybe adding a version or ID number to the filename.

Any help or suggestions would be greatly received.

thanks

Marc


Posted to: UploadField with dateTime appended to filename | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles