Hey guys,
I'm currently using the CloudUpload to upload files to an internal server.
This happens over multiple single steps in clsDaten.UploadReklamationsDateienKEMdoc.
This would return a true if succesfull uploaded and a false, as well as an error message if not.
I now want to show this error message in the interface and an Error sign instead of the succesfull check.
But I dont find anywhere how.
Does anyone have an idea?
Greetings Benedikt
public class clsCloudUploadProvider : ICloudUploadProvider
{
long uploadFilesCount = 0;
clsReklamation Reklamation;
public Task<object> UploadFileAsync(string fileName, Stream fileStream, CloudUploadFileProgressChanged uploadProgressChanged, CancellationToken cancellationToken)
{
return Task.Factory.StartNew<object>(() => UploadFile(fileName, fileStream, uploadProgressChanged, cancellationToken), cancellationToken);
}
private object UploadFile(string fileName, Stream fileStream, CloudUploadFileProgressChanged uploadProgressChanged, CancellationToken cancellationToken)
{
this.uploadFilesCount++;
var fileLength = fileStream.Length;
uploadProgressChanged(fileLength);
object[] ImportState = Import(fileStream, fileName);
if ((bool)ImportState[0])
{
return fileName;
}
else
{
return null;
}
}
public object[] Import(Stream filestream, string filename)
{
return clsDaten.UploadReklamationsDateienKEMdoc(Reklamation, (filestream as FileStream).Name);
}
public clsCloudUploadProvider(clsReklamation reklamation)
{
Reklamation = reklamation;
}
}
I'm trying to create a file upload or download function to the cloud in WPF.
I heard that this product can upload to the cloud, but I would like to know if it is compatible with all clouds.
I would also like to know the maximum size that can be uploaded.
Hello,
how to dectect if upload is completed?
for me i will use the cloud upload control in diffenent windows to update diffenet objects.
actually i found no way to find out if the upload control upload ist completed?
kind regards
HI:
In the CloudUpload demo it uses a local service provider based on api.everlive.com but this link is broken. How can I run the demo? also how can I create the asp.net api to have it locally?
api.everlive.com
HI:
I want to create a custom api service to upload a file. In fact, I have one and works fine with postman. How Can I use it with CloudUpload?
Thanks in advance
The WPF demo doesn't load Cloud Upload:
Hi,
I'm using the CloudUpload in my application, and I was wondering if there was anyway to update the tooltip language resource of the RadCloudUploadListItem Close Button (I joined a screenshot of the tooltip I'm talking about). I wasn't able to find it in the xaml style template.
Could someone help me with this issue?
Thank you,
I'm looking for a way of not just selecting files for upload but entire folder structures. I was hoping I could use the CreateOpenFileDialog delegate to return the RadOpenFolderDialog however this function expects a return type of Microsoft.Win32.OpenFileDialog which the Telerik controls do not inherit from.
Any suggestions?