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
I was able to download the file without any issues. However, I have two suggestions for you:
File Path Format : Please ensure that the file path you provided is correct. In Windows OS, the path should be formatted as "d:\aa.jpg" instead of "d:/aa.jpg".
Error Handling : Please add the following code to your downloader object to catch any errors during the download process:
downloader.DownloadFileCompleted+=(sender,args)=>{if(args.Cancelled)Console.WriteLine("Download Canceled.");if(args.Erroris not null){Console.WriteLine("Error: "+args.Error.Message);if(args.Error.InnerException!=null)Console.Error.WriteLine("Inner Exception: "+args.Error.InnerException.Message);}};
This will help you diagnose any issues that may arise during the download. If you have any further questions, feel free to ask!
Hi, sorry for the late reply.
I catch the error using your code.
Error: The SSL connection could not be established, see inner exception.
Inner Exception: The SSL connection could not be established, see inner exception.
No error, no file downloaded
The text was updated successfully, but these errors were encountered: