|
-
Mar 18th, 2007, 07:26 AM
#1
Thread Starter
Addicted Member
Download Big Size Files
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?
If above question or answer will help to you
Don't forget to rate me
தமிழ்இன்பன்
-
Mar 19th, 2007, 05:10 AM
#2
Thread Starter
Addicted Member
Re: Download Big Size Files
Hoo!
No one can create a downloading manager on Visual Basic??...
No one can help me??...
If above question or answer will help to you
Don't forget to rate me
தமிழ்இன்பன்
-
Mar 19th, 2007, 10:09 AM
#3
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.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Mar 19th, 2007, 10:12 AM
#4
Fanatic Member
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"
Alpha Micro: Alpha Basic, AS400 V5r2, EDI (Trusted Link/ Inovis.com),Access AS/400 via VB6, Qbasic for data conversions. A mix of Hardware too. ASCII Table , New Number to Words/66 digits , AS/400(v5r2) VB6 Viewer/Ask for code(ODBC) ^ What Is Transferring? , Check your Ports #Perfect Passwords , *Slide Bar Example , Logoff, Restart, Shut-Down PC *Keep Form On Top , Opaque Form ^ Create Objects at Run Time @ Check Key Caps Locks # GetTickCount(System Up Time) * Convert text to Excel & Collected Icons + Resize: Form/Text box ^ PC GateWay via Shell $ Drag & Drop Game ! PopUpMenu *Print File/no Open# Timer on Mult Forms ~ Splash & Mult Forms & Lots of Comments + Random/Timer/Guess * Dec >Hex >Oct >Bin % Get MAC (NIC) < saving to Registry > Wookiee Cookies \ BackUpDisk / World Conection SpeedTest $ Glossary Commonly Used Terms # phonetic list @ Detailed Computer Scan
When posting Code, Use tags.. [CODE] *Your Code* [/CODE]
-
Mar 19th, 2007, 01:11 PM
#5
Re: Download Big Size Files
 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.
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|