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

TargetFolder not working

1 Answer 65 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 24 Sep 2015, 10:05 PM

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

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 29 Sep 2015, 03:13 PM
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
Tags
AsyncUpload
Asked by
Randy
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or