Download issues when trying to use My.Computer.Network.DownloadFile in VB.NET

168 Views Asked by At

I have a lot of issues with My.Computer.Network.DownloadFile command. I want my application to download a file from internet. First, I tried to upload the file to dropbox and I copied the link. My application should download that file, but it gave an error like this: The request was aborted: Could not create SSL/TLS secure channel. How do I bypass this error? After this, I tried to copy a link from an antivirus website and coded my program to download that file. It worked. Why this command works on a random link but not in dropbox files?

Also, I tried to upload that file to Google Drive. It didn't give me any error; the file was downloaded but it was 0 KB! It just downloaded a blank file. I tried another online file upload web site, but my application gave me an error like this: The request was aborted: Could not create SSL/TLS secure channel. How do I fix these issues? I am using Microsoft Visual Studio 2010 Professional.

0

There are 0 best solutions below