Zero byte download - C#
I'm from PicBackMan team, we are experiencing issues with Download photos/videos from SmugMug. Files are being downloaded but with ZERO byte, below is code block we are using:
string signature = myOAuth.GenerateSignature(uri, staticGlobalConst1.Smugmug_CONSUMER_KEY, staticGlobalConst1.Smugmug_CONSUMER_SECRET, tc.auth_Token, tc.auth_Secret_ticket_refresh, "GET", timeStamp, nonce, OAuth.OAuthBase.SignatureTypes.HMACSHA1, out normalizedUrl, out normalizedRequestParameters); string authorizationUrl = normalizedUrl + "?" + normalizedRequestParameters + "&oauth_signature=" + myOAuth.UrlEncode(signature); Uri signInUrl = new Uri(authorizationUrl); wc.DownloadFileAsync(Uri, path);
Please tell us what we are doing wrong here. We have received this issue from our users also.
Thank you for your response.