Posted
on May 27, 2011
(permalink)
I am using Asynchronous File Upload and is working fine with me. I want to add a mechanism which can change the name of file before writing to target location. For example if a user "Bingo" is uploading a profile picture with a filename originally "mypic.jpg", this should be stored as "bingo.jpg". This will help me avoid overwriting of files on target location. Can anyone share any sample code to accomplish this??