I updated my AWS SDK to their latest version (AWSSDK.Core v3.x) and now the Telerik CloudUpload component is not working. I have a class that derives from AmazonS3Provider as shown in your docs, and when I set the AmazonS3Client property of this class, I get the error "The type 'AmazonS3Client' is defined in an assembly that is not referenced. You must add a reference to assembly 'AWSSDK, Version=2.0.5.0, Culture=neutral, PublicKeyToken=9f476d3089b52be3'"
Can you guys release an update that supports the AWSSDK version 3+?
RadCloudUpload sends request to {AccountName}.blob.core.windows.net, but this leads to an error if the german azure cloud is used. The german endpoint is {AccountName}.blob.core.cloudapi.de/
Is there a way to determine the endpoint itself?
Regards
Hi
I have used the custom provider to upload to my amazon s3 bucket. I have set the SubfolderStructure to a path (lets sat abc/def ) but I want to be able to append to this at runtime based on the type of file I am uploading (or a parameter/setting I can set on the control or page), ie keep my images files in my abc/def/images folder and for docs use abc/def/docs so all I need do is store the value "images" or "docs" on the page and pass this to the provider at runtime and append to the SubfolderStructure. I guess a attribute called Path on the RadCloudUpload control would do the job but I couldn't see one?
So my question is, what's the best way of getting a parameter from the page to the provider?
Thanks
Tim
I am trying to use RadCloudUploader with Azure Media Services. I need to override the BlobContainer per uploaded file so that I can upload each into their own container in azure blob storage (due to the way Azure Media Services works). I have created a custom provider and custom upload handler but the problem is how to get the azure container name into the AzureProvider Initialize method.
Here is how the processing needs to work:
Step 2 is the problem. I just need to be able to specify the container name (not the folder path, as per the Handler's SetKeyName override). Thanks for any help, I've been going a bit crazy on this one.
Hi,
There seem to be a bug with RadCloudUpload when uploading files containing accents even when removing the accents using SetKeyName . You can reproduce the problem using the online demo:
http://demos.telerik.com/aspnet-ajax/cloud-upload/examples/overview/defaultcs.aspx
Try to upload a file named testé.txt and it will simply spin forever... with the Azure Provider it will give a 400 bad request error.
This bug occurs even when using a custom keyname (ie: renaming testé.txt to test.txt)
It looks like it's posting an empty keyname in the form-data / metadata
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuConfigurationData" o7YTRi9y7g5a87elRnSedOyIfTEV6yRP4qSiSAbpKNqJACur2dz8NDNMqtQYwyZm+gslxpwauOF6zoZHoyrVz4z+x6D3YzCZt0GJWxCPX96H/e9o635zvsgBjRPk0kV0cj+OKg==
------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="file"; filename="blob"Content-Type: application/octet-strea------WebKitFormBoundary27qdoJuKD1bZGORUContent-Disposition: form-data; name="rcuPostData" {"KeyName":"","OriginalName":"testé.txt","UploadId":"","IsSingleUpload":true,"IsLastChunk":true,"ChunkNumber":1,"PartEtags":[]}------WebKitFormBoundary27qdoJuKD1bZGORU--
Exception thrown for upload operation for file with keyName: test.txt
Telerik.Web.UI.CloudUploadProviderException
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.AzureProvider.UploadFile(String keyName, NameValueCollection metaData, Stream fileStream)
at Telerik.Web.UI.CloudUpload.BaseWorker.PerformSingleRequestUpload()
at Telerik.Web.UI.CloudUpload.BaseWorker.Process()
at Telerik.Web.UI.CloudUploadHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Telerik.Web.UI
The remote server returned an error: (400) Bad Request.
Microsoft.WindowsAzure.Storage.StorageException
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.SetMetadata(AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext)
at Telerik.Web.UI.AzureProvider.UploadFileOnSigleRequest(String keyName, NameValueCollection metaData, Stream fileStream)
Microsoft.WindowsAzure.Storage
The remote server returned an error: (400) Bad Request.
System.Net.WebException
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)
I am using Telerik 2015.1.401.45
Please let me know if a hotfix or workaround is possible.
Thanks,
Kim
Is there a way to completely disable chunk upload or increase the chunk size for the RadCloudUpload control?
I'm using a custom AmazonS3Provider overriding the UploadFile method to modify the file stream before sending it to Amazon. When file is larger than 5mb, it doesn't fire the UploadFile but the UploadChunk and I can't make changes to the file content for each chunk, need to have the whole file stream.
Hello,
I will wish to clarify the following properties :
- StorageClass
- ServerSideEncryptionMethod
- CannedACL
I do not see how, thank you for your help.
Vincent
Hello,
I can not add an icon to the radcloudUpload button as I do with radbutton.
Can you explain me how to do if it is feasible ?
Thank you
Vince
Is it possible to change the target sub-container at run time? I am trying to use the radcloudupload control to upload files into several sub-containers, depending on options selected in the form at time of upload.
Thank you in advance.