Results 1 to 2 of 2

Thread: I want to download a piece of file?

  1. #1
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default I want to download a piece of file?

    hi every body;

    i am working on a program that download files from the internet and i want to download these files as fast as possible
    so i want to make more than one connection to download each file and each connection download a piece of this file
    so how can i divide the file to pieces and download it then i will regroup these pieces?
    thank you.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: I want to download a piece of file?

    (most) FTP and (some) HTTP servers support a "resume" command where you can tell the server you already have the first X bytes of a file and to start the transfer at x+1. Use this you can request a part of the file.

Similar Threads

  1. Download File
    By BalaQT in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2010, 09:53
  2. Replies: 1
    Last Post: 16th September 2009, 10:59
  3. NEED HELP: How to download file without breaking function
    By codeslicer in forum Qt Programming
    Replies: 10
    Last Post: 22nd April 2008, 04:10
  4. How to download any file through ftp server
    By thomasjoy in forum Qt Programming
    Replies: 1
    Last Post: 24th July 2007, 01:23
  5. QHttp download file problem.
    By fengtian.we in forum Qt Programming
    Replies: 12
    Last Post: 12th June 2007, 09:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.