I have an App I made that was working well previously, but upgrading my code to the latest editions broke my ability to download files from my App Folder in Dropbox, to my asp.net App. This is an on-going issue and I really need to find a resolve.
I get this message in ASP.NET when I attempt to download a file from Dropbox using the api.
[ThreadAbortException: Thread was being aborted.]
System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state) +113
System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +113
I can't find any way to get around it.
I'm also wondering if I'm missing a web.config setting, and I'm not sure what the reference means in the documentation about opening up a port for dbx.
Upload works great. I'm only running into an issue on download, and the file is less than 100k
Here's my code:
Dim dbx As New DropboxClient(AccessToken)
Dim path As String = "/" & HostName & "/" & Filename
Using response = Await dbx.Files.DownloadAsync(path)
DownloadAsync is called and throws the error, so why is the thread being aborted before I even get a response?