Re: Download Big Size Files
Hoo!
No one can create a downloading manager on Visual Basic??...
No one can help me??...
Re: Download Big Size Files
First, VB is the wrong language to use for the project.
That said, how large will the largest file be? VB can only handle filesizes up to 2GB.
Also, why split the files up? The reason download managers do this is because they're downloading multiple pieces of the file at the same time, not just to break the file up. Do you know how to do a resumed download in FTP? (That's how you download more than 1 piece of the file at a time.)
Re: Download Big Size Files
As you download the file, track the byte count. If the download fails, and you start again, reset the byte count to last byte received?
or
Use Winsock, lots examples...Search "Winsock"
Re: Download Big Size Files
Quote:
Originally Posted by Al42
First, VB is the wrong language to use for the project.
That said, how large will the largest file be? VB can only handle filesizes up to 2GB.
Also, why split the files up? The reason download managers do this is because they're downloading multiple pieces of the file at the same time, not just to break the file up. Do you know how to do a resumed download in FTP? (That's how you download more than 1 piece of the file at a time.)
Why is VB the wrong language for this? Also, only the native file I/O statements are limited to 2GB. You can get around this limit using the Win32 File API.
Quote:
Originally Posted by thamizhinpan
I want create a project that can download big size files from a web site.
When Downloading big size files with my project, it want split the files as many parts. Because it want to download it with many pauses. (like Download managers). Any one have project like that?
This can be accomplished pretty easily with the Winsock control. You just need to know the basics of the HTTP protocol. Sending HEAD request to get the size of the file, then GET requests to download the file, and also need to check if the web server supports resume or not.
You're asking such a general question it's hard to give specific answers. There have been lots of download managers made in VB, maybe you can look at how some of the other people made some to get some ideas.
You can start here:
http://www.pscode.com/vb/scripts/Bro...t=Alphabetical