Closed shahshyam closed 7 years ago
Thanks for raising the issue, will take a look. In the meantime, would you be able to provide a bit more information for me?
Hi Regarding your question . the file is small about 56 KB , docs extension i uploaded 1 hour ago and then try to download .
I am using cloud version with company account
Hi Did you get time to resolve File downloading issue, ? is any way to download file from ShareFile ? I need emergency . I am waiting for your reply.
Hi, I tried to reproduce the error however I am unable to. Do you have a small isolated reproduction of the error that you could share? Did this happen after updating to the latest version of the SDK?
I was not used its previous version. It is my first time . I am integrating in Com addin where I want to download .docx extension file.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at ShareFile.Api.Client.Requests.Executors.AsyncRequestExecutor.<SendAsync>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable
1.ConfiguredTaskAwaiter.GetResult()
at ShareFile.Api.Client.Requests.Providers.AsyncRequestProvider.
Can we please provide me your skype id show that i will contact as per your available time ? I am waiting for your reply
it is working in window form application
@shahshyam wanted to follow up on this, are you still facing the issues? Sorry, I had PTO and forgot to check in once I came back.
Hi I am still getting issue . It was working if i am using webrequest for download .
I am using code var downloader = sfClient.GetAsyncFileDownloader(itemToDownload); using(var fileStream = File.Open(@"C:\test\newImage.png", FileMode.OpenOrCreate)) { await downloader.DownloadToAsync(fileStream); }
I am getting exception : task was cancelled exception . I am using latest version of DLL (Relase date : Dec 04, 2016