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

Upload file with different file name

1 Answer 62 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Antje
Top achievements
Rank 1
Antje asked on 16 Jul 2013, 04:14 PM
Hi ,

i want to use your Upload widget in my application, but I'm facing a litte problem here.
For example, the user selects a file on his local file system: "test.txt", but the file should be renamed into "file1.txt" at the upload target. Is there any way to archieve this?

I'm using jquery-2.0.3, jquery-ui-1.10.3 and kendo ui v2013.1.419


Thank you very much!

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 17 Jul 2013, 12:53 PM
Hi Antje,

Browsers do not allow manipulations of the selected files for security reasons. Uploaded files can be renamed only server-side.


Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Upload
Asked by
Antje
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or