TargetFolder not working

2 posts, 0 answers
  1. Randy
    Randy avatar
    50 posts
    Member since:
    Aug 2010

    Posted 24 Sep 2015 Link to this post

    Running 2015.2.826.45

    I accidentally posted this in the Upload forum, not AsyncUpload, so I am reposting it.  This used to work, but we recently changed environments and I am not sure where to check for problems.

    <telerik:RadAsyncUpload runat="server" Width="300" SkinID="defaultUpload" ID="uImportFile" OnFileUploaded="fileUploaded" AllowedFileExtensions=".xls,.xlsx" OverwriteExistingFiles="True" AutoAddFileInputs="False" MaxFileInputsCount="1"                    TargetFolder="~/UploadedFiles" OnClientFileUploadFailed="uploadFailed"><br></telerik:RadAsyncUpload>

    As soon as the user selects the file to be uploaded, a temp file is created based on the name of the upload in App_Data/RadUploadTemp.  But then a postback happens, the file is removed from RadUPloadTemp, but it not moved into the UploadedFiles folder. ​This happens on a production server as well as locally.  I have set permissions on the folder to full control.  Tried Chrome, IE, FireFox and got the same results.  The OnClientUploadFailed event is not firing.  The OnFileUploaded even is firing.  What am I missing?

    Thanks,
    Randy

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    834 posts

    Posted 29 Sep 2015 Link to this post

    Hello,

    The issue is now resolved and information on what was causing the problem was provided by Randy in another identical thread in the RadUpload section.

    Regards,
    Ivan Danchev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top