|
Posted by Richard Lynch on 04/20/05 07:38
On Tue, April 19, 2005 2:13 am, Martin Mandl said:
> Therefore (finally) here come the questions:
> Is there a way to control the output speed of the php script according
> to the actual download speed between the browser and the server?
> Or is there a way to monitor the memory usage of the apache process (to
> slow down the data output when it increases)?
> Or is writing my own socket to act as web server a solution (is it
> possible to monitor the connection speed this way)?
> Or what should I do else?
Perhaps you should consider making the files available via FTP.
And perhaps even in, say, 10Meg chunks, using command line split.
Cuz if I have to download 100Meg through HTTP over a modem, I ain't gonna
do it.
Also consider this: If the end goal of your user is to put this file
somewhere else, on another server, maybe give dial-up users the option of
not downloading it at all, but give them an SSL page to put in one-time
throw-away never-stored username/password/domain/path and their choice of
FTP, SCP, SFTP and then *you* copy the file from your server to their
server for them.
--
Like Music?
http://l-i-e.com/artists.htm
[Back to original message]
|