You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
I'm using Dropnet in Visual Studio 2010 and I've connected my project with Dropbox. When I try to use upload with files smaller than 4MB it's ok but when the files are larger there is a problem. I've searched and found a sollution, to add this code in web.config:
So this should allow me to upload files smaller than 100MB, I've succeeded with some files around 10MB but when I try around 50MB and smaller, somehow it gets stuck, no error or anything, and no matter what number I put in maxRequestLength and maxAllowedContentLength it's still the same. Please help. My code is:
if (filMyFile.PostedFile!=null)
{
Stream stream = filMyFile.PostedFile.InputStream;
int sLen = filMyFile.PostedFile.ContentLength;
byte[] binaryData = new byte[sLen];
int n = stream.Read(binaryData, 0, sLen);
_client.UploadFile("/Folder/", filMyFile.PostedFile.FileName, binaryData);
}
Activity
staticcat commentedon Apr 29, 2014
What is returned by UploadFile? Also what is the result if you use UploadFilePUT instead?