Why uploaded file name not same original file name?

4 posts, 0 answers
  1. Suwit
    Suwit avatar
    4 posts
    Member since:
    Oct 2014

    Posted 19 Mar 2015 Link to this post

    I using RadAsyncUpload control and upload file by automatic after select file in "choose file to upload" dialog or drag and drop files to drop zone. I found file name at target folder not same original file name or cannot read.
    Sample see attached image. Original file name is "SelfUpdatingLauncher.zip but in target folder is "1426758505493SelfUpdatingLauncher.zip".
    Please advice.

  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Mar 2015 Link to this post

    Hi Suwit,

    This is temporary name, created to avoid files overwriting. The uploaded file has such name only when it resides in the Temporary Folder. After the file submitted it will be renamed.

    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" TemporaryFolder="~/Temp" TargetFolder="~/Uploas"></telerik:RadAsyncUpload>
    <telerik:RadButton ID="btnSubmit" runat="server" Text="Submit"></telerik:RadButton>

    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Suwit
    Suwit avatar
    4 posts
    Member since:
    Oct 2014

    Posted 19 Mar 2015 in reply to Hristo Valyavicharski Link to this post

    Thank you for your response. I'm try follow you advice but not found uploaded file in target folder. 
    Is possible save file to target folder instead temporary folder without code runat server?  
    if yes, Have you any approach? 
    if no, Is this limitation?  
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 19 Mar 2015 Link to this post

    Make sure that you give write permissions to both folders. Do meantt without the runat="server" tag?

    Regards,
    Hristo Valyavicharski
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top