Change FileName on Server and Send Back to Client

3 posts, 0 answers
  1. SchaF
    SchaF avatar
    28 posts
    Member since:
    Jan 2012

    Posted 23 May 2012 Link to this post

    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. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 28 May 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. SchaF
    SchaF avatar
    28 posts
    Member since:
    Jan 2012

    Posted 29 May 2012 Link to this post

    Its working fine now, Im not really sure what the difference was.
Back to Top