Add timestamp to filenames on upload?

Last post 04-02-2010, 9:15 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  03-29-2010, 11:44 AM 59716

    Add timestamp to filenames on upload?

    Hi there,
     
    I'm curious if it is possible to add a date/time stamp to the filename of the files that are being uploaded?  I'm creating a dropbox for my company using the php file uploader script and need to make it so that it will automatically add the date/time stamp so files are not overwritten.
     
    Thanks in advance.
     
    Ryan 
  •  04-02-2010, 9:15 AM 59836 in reply to 59716

    Re: Add timestamp to filenames on upload?

    Ryan ,
     
    There's many place that you can process the file.
     
    Please find the GetUploadedFile function in the samples
     
    After you get the object , you can move it , or rename it.
     
    Regards,
    Terry
     
View as RSS news feed in XML