HTTP question

This is a discussion on HTTP question within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Is it possible to download really large files (>4GB) using HTTP? Internet explorer starts the download, but fails to show ...

  1. #1
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072

    HTTP question

    Is it possible to download really large files (>4GB) using HTTP?
    Internet explorer starts the download, but fails to show the filesize.
    Mozilla just creates an empty file and cancels download (no error message).
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  2. #2
    Banned Cgawd's Avatar
    Join Date
    Oct 2002
    Posts
    405
    it all depends on the clients connection and the servers connection, IE wont give you a file size or time because it cant estimate, in theory it will work, but will your connection stay alive long enough for a single file 4gb transfer? Ide suggest using RAR to split it into a multi-file archive.

  3. #3
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    My question was more theoretical.

    Is this valid for the server to send?
    Code:
    HTTP/1.1 200 OK
    Server: Test Java server
    Connection: close
    Content-Length: 3298534883328
    Content-Type: application/zip
    
    <many bytes here>
    IE displays the filesize when Content-Length is more normal.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    According to the RFC:
    Any Content-Length greater than or equal to zero is a valid value
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# HTTP request/response
    By George2 in forum C# Programming
    Replies: 0
    Last Post: 04-02-2008, 06:00 AM
  2. Writing all HTTP requests from a website to a log file
    By goomyman in forum C# Programming
    Replies: 1
    Last Post: 07-29-2005, 09:18 AM
  3. HTTP Post Question
    By penney in forum C# Programming
    Replies: 2
    Last Post: 06-07-2004, 09:26 AM
  4. HTTP Server Through Router Question
    By Tommaso in forum Tech Board
    Replies: 3
    Last Post: 12-26-2003, 12:42 AM
  5. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21