Re: file download dialog

From: ismailp (pazarbasi_at_gmail.com)
Date: 03/15/05


Date: 14 Mar 2005 16:03:28 -0800

I did not understand where did you put sleep(). First off, using sleep
in a user interface thread is not a good practice, neither on limiting
connection.

IE should not download whole file. IE, first reads the header to get
basic information about the file it needs to download. This information
is usually size of file and its MIME type. It may then start
downloading a portion of the file, until it displays "Save as" dialog
and user clicks "Save as". If your file is quite small, then IE may
download whole file before it displays the dialog. Try to test with a
larger file, and avoid Sleep().

Ismail



Relevant Pages

  • Re: LSP & Bandwidth Limiting
    ... I can put a sleep inside a thread. ... download window hangs because it uses internal sleep. ... I have 2 mbps connection so I am downloading it like ... Error code you return for new session if system throughput exceed the ...
    (microsoft.public.win32.programmer.networks)
  • Re: LSP & Bandwidth Limiting
    ... I can put a sleep inside a thread. ... I have 2 mbps connection so I am downloading it like 220K/sec. ... When I enable the limiter it will only download 5K/sec for selected ... Error code you return for new session if system throughput exceed the ...
    (microsoft.public.win32.programmer.networks)
  • Re: LSP & Bandwidth Limiting
    ... I can put a sleep inside a thread. ... download window hangs because it uses internal sleep. ... I have 2 mbps connection so I am downloading it like ... Error code you return for new session if system throughput exceed the ...
    (microsoft.public.win32.programmer.networks)
  • Re: LSP & Bandwidth Limiting
    ... I can put a sleep inside a thread. ... inside LSP IE download window hangs because it uses internal sleep. ... I have 2 mbps connection so I am downloading it like ... Error code you return for new session if system throughput exceed ...
    (microsoft.public.win32.programmer.networks)
  • Re: Insomnia
    ... scorpy66 wrote: ... weeks I have developed a habit of waking up in the middle of the night and not being able to get back to sleep for ages. ... Download something that sounds like a light breeze, waves in the ocean shit like that i shit you not. ...
    (alt.support.stop-smoking)