Renaming files on upload

Results 1 to 2 of 2

Thread: Renaming files on upload

  1. #1
    Join Date
    Dec 1969

    Default Renaming files on upload

    I there a VBScript way of changing the name of a file uploaded to the server by a site user? for example when a user called user1 uploads a file called picture.jpg I want to automatically change its name to user1_picture.jpg so it doesn&#039;t overwrite a file called picture.jpg from another user.<BR><BR>I am using pure ASP file uploading, no COM components or anything like that.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default ASPFAQS...

    Use FSO to find out if the file exists and if it does then call it something else...<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts