Collect multiple files, zip them and Upload them via RadCloudUpload To Amazon S3 Server

0 Answers 24 Views
CloudUpload
DoubleM
Top achievements
Rank 2
DoubleM asked on 30 Jun 2021, 08:53 AM

Hi Community,

I am forced to find a way to upload multiple files to an Amazon S3 Bucket. Therefore I am using an ASP.Net Webform with Telerik UI Ajax.
In short, this should be the solution:
The easiest way would be to select all files which should be uploaded. At first, all these files should be ziped.
This created zip-file should be transfered to the amazon s3 bucket.

Here I got some issues.
-> All my uploaded files got prefixes, which makes it hard to address them on the bucket. How do I Upload files via RadCloudUpload without any prefixes, just the pure filename?

Next issue:
-> Am I right that I am not able to create this zipfile on the local client machine?
What would be a proper workaround? The 'classic' RadAsyncUpload used a temp folder to collect these uploads. Unfortunately the asyncUploader is not able to address the Amazon S3 bucket.

Thank you in advance for your help.

Peter Milchev
Telerik team
commented on 02 Jul 2021, 01:55 PM

Is it necessary to zip all files and keep them as .zip in the cloud? If not, the built-in functionality of the CloudUpload would upload the files to the Amazon S3 Bucket.
Also, the following forum thread seems related: https://www.telerik.com/forums/renaming-file-on-upload 
DoubleM
Top achievements
Rank 2
commented on 15 Jul 2021, 02:48 PM

Hi Community.
It's not necessary to upload it as .zip but to download all files bundled as zip-file.

I haven't found any solution yet.
As I was doing my research, Amazon S3 don't offer the possibilty of collecting them and zip the whole directory.
Peter Milchev
Telerik team
commented on 20 Jul 2021, 08:18 AM

The CloudUpload and the AsyncUpload controls provide only the upload functionality and do not have download capabilities. 

Nevertheless, you can choose the best way to retrieve the files from your cloud and then you can leverage the ZipLibrary to create a zip archive that you can provide to the user: https://docs.telerik.com/devtools/document-processing/libraries/radziplibrary/overviewhttps://docs.telerik.com/devtools/document-processing/libraries/radziplibrary/sdk-examples 

No answers yet. Maybe you can help?

Tags
CloudUpload
Asked by
DoubleM
Top achievements
Rank 2
Share this question
or