Hello everybody.
I would like to know how to download and save a file to my hard drive, specifically a zip
file from a HTTP server using the System.Net.Socket.Sockets
class.
I know there are allot easier ways to download a file with .Net, but i would like to know how to do it with Sockets, if possible of course although I'm pretty sure it is.
I've tried a few things, nothing worked once i don't have any background experience with sockets.
Your help satisfying my curiosity is appreciated. Any question just ask. Thank you.
Note:
- The file is a standard zip file, however i would like a way that would work with any file type.
- The file size is different every day.
- The file is downloaded every minute, caching of such file must be disabled to get a accurate and update file version from the server.
- File url sample: www.somewhere.com/files/feed/list.zip