Results 1 to 5 of 5

Thread: Download Big Size Files

  1. #1

    Thread Starter
    Addicted Member thamizhinpan's Avatar
    Join Date
    Dec 2005
    Location
    TE
    Posts
    243

    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
    தமிழ்இன்பன்

  2. #2

    Thread Starter
    Addicted Member thamizhinpan's Avatar
    Join Date
    Dec 2005
    Location
    TE
    Posts
    243

    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
    தமிழ்இன்பன்

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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

  4. #4
    Fanatic Member sessi4ml's Avatar
    Join Date
    Nov 2006
    Location
    Near San Francisco
    Posts
    958

    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"

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width