This is a migrated thread and some comments may be shown as answers.

How to change uploaded file's name?

1 Answer 387 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Dang Vu
Top achievements
Rank 1
Dang Vu asked on 16 Jun 2010, 08:58 AM
Hi,
I using RadUpload Control. How can i change FileName before this file uploaded to target folder? For example, i choose file : 1.jpg, and how can i upload to target folder and change it to 20100610180000.jpg(yyyymmddhhmmss) ?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jun 2010, 02:16 PM
Hello,

I read in forum that, it is not possible to change the file name prior uploading, however you can do that after the file is uploaded on the server and before it is saved. Check out the forum for more information.
Uploading and file names

Also, go through the following link:
FileExists

-Shinu.
Tags
Upload (Obsolete)
Asked by
Dang Vu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or