image getting uploaded, video throwing error "underlying connection was closed"...

sujit1779sujit1779 Registered Users Posts: 46 Big grins
edited October 12, 2012 in SmugMug Support
I have a piece of code which is working perfectly for uploading images (C#, smugmug api). Problem is when I use it for uploading video (80 MB, 6 minute duration), it keeps on throwing below error

"The underlying connection was closed: The connection was closed unexpectedly"

I had tried various things like

ServicePointManager.Expect100Continue = false;
request.ProtocolVersion = HttpVersion.Version10;
request.KeepAlive = false;
request.Timeout = 1000000000;
request.ReadWriteTimeout = 1000000000;

What should I do?

Thanks.
Sign In or Register to comment.