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

Single Control & Drop Zone for File Upload and Directory Upload

1 Answer 124 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Rodney Foley
Top achievements
Rank 1
Rodney Foley asked on 25 Jan 2019, 07:37 PM

I was looking at the demos and playing around with the upload control.  It seems that its designed to either be File uploads or Directory uploads, not do both at the same time. It seems we would would have to have two buttons one to allow choosing files and one to allow choosing a directory. The same with drop locations we could have a custom zone that accepts files and we would have to have another custom zone that only accepts a directory.

Below are some scenarios to help explain. I would love to know if all of these scenarios are possible and if so how. If they all of them are not then I would like to know what the reasoning is behind this limitation.

Scenario One

The user click an "upload" button that they can choice either 1 or more files, or 1 or more directories and the control will handle uploading all of them

Scenario Two

The user drags some files to a drop location and it detects they are files and uploads

Scenario Three

The user drags one or more directories to the same drop location as above and it detects they are directories and uploads the files represented within

 

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 29 Jan 2019, 09:48 AM
Hi Rodney,

I have answered your other thread with the same questions: https://www.telerik.com/forums/single-control-drop-zone-for-file-upload-and-directory-upload-a28ccc82aeeb.

What I can add here, considering that this is the forum for RadAsyncUpload for ASP.NET AJAX (that is, WebForms), is that RadAsyncUpload does not offer a directory upload feature, so you'd have to go with the Kendo Upload widget for that.


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AsyncUpload
Asked by
Rodney Foley
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or