Re: Delivering large files via PHP (>300MB)
| From: | Michelle Konzack | Date: | Mon, 13 Dec 2004 20:57:43 +0000 |
| Subject: | Re: Delivering large files via PHP (>300MB) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204225@lists.php.net to get a copy of this message | ||
Am 2004-12-13 19:53:01, schrieb Richard Davey:
> Hi all,
> I can push the file out quite easily using a modified header and a
> simple script to check if they can download it or not, but with
> such a large file a significant number of web browsers fail to
> obtain the entire EXE before closing - or any other number of
> factors kick into play (their PC resets, ISP disconnects, Windows
> crashes, etc).
Why not suggest your clients to use "wget" for Windows or DOS ?
The 32-Bit Version of "wget" for DOS works perfectly in a DOS-Box
of Win2003 Server, WinXP Pro+Home, Win2000, Win98 and Win95
But why not SPLIT the files on your Server already in 1 MB parts
and the if the $USER connect with your small 50kB Application it
sends a URL with the requird Data to the Server which responds
via shttp and a file, where alle the parts are listet with there
md5sums...
Then your application can download all parts from e hidden directory
check the md5sums and if they are complete, it will join the parts
to the big_game.exe.
This is what I do :-)
And yes, I have used the Source-Code of WGET but you can make your
implementation. WGET is perfect, because it can resum broken
downloads, no matter where the $USER has stoped the Download.
> Best regards,
>
> Richard Davey
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)