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

Change FileName on Server and Send Back to Client

2 Answers 49 Views
Upload
This is a migrated thread and some comments may be shown as answers.
SchaF
Top achievements
Rank 1
SchaF asked on 23 May 2012, 06:54 PM
I was wondering if someone could walk me through dynamically changing the filename of an upload so that when its uploaded, its gets a custom file name on the server, like 'MMddYY_name', then have that sent back to the client so that I can add it to a list of the newly uploaded file names and store those in the database. Ive seen two examples posted around here that I tried, however, it will either not upload any of the files or it will only upload 3 of the files when Im trying get get it to do 6. Here is the project my current code is based off of.

http://www.telerik.com/support/kb/silverlight/upload/uploadhandler-uniquefilename.aspx

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 28 May 2012, 02:11 PM
Hi Brandon,

Can you please elaborate on the issues you have with the project attached in the KB article? I ran it on our side and I was able to upload as many files as I chose. I uploaded around 20 different files and their new names were displayed on the client side and they were properly uploaded in the MyStorageFolder directory. Am I missing something?

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
SchaF
Top achievements
Rank 1
answered on 29 May 2012, 03:23 PM
Its working fine now, Im not really sure what the difference was.
Tags
Upload
Asked by
SchaF
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
SchaF
Top achievements
Rank 1
Share this question
or