Baz has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm using -
to upload code to my server. This upload is then read using the following, which is typical for uploads<FORM NAME=UPLOADFORM ENCTYPE="multipart/form-data" ACTION="/cgi-bin/u +pload.cgi" METHOD="POST>
THe problem I'm having is that the upload times out for large files (in the order of 3 Megs) - I'm getting the usual "Cannot Find Server Message" after about 5 mins. This upload works for other users on the server, so I guess the upload speed is the main issue here - I'm using a 56K modem. I searched the net and found a similar complaint from another perl programmer. He said he had even raised the application timeout to 3000 seconds ( something I know nothing about but can at least appreciate) and this didn't help matters. I tried uploading the file to my tripod a/c using their browser upload facility and got the same timeout after a number of minutes - so their site seems to have a similar fault. Anyone know whats going wrong and what I can do to fix it.while (my $bytesread = read($filesource, my $buffer,1024)) { print OUTFILE $buffer; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Trouble with browser file upload for large files
by chromatic (Archbishop) on May 28, 2002 at 21:20 UTC | |
Re: Trouble with browser file upload for large files
by vladb (Vicar) on May 28, 2002 at 21:23 UTC | |
by Baz (Friar) on May 28, 2002 at 23:21 UTC | |
by cLive ;-) (Prior) on May 29, 2002 at 00:23 UTC | |
by Baz (Friar) on May 29, 2002 at 07:38 UTC | |
by zakb (Pilgrim) on May 29, 2002 at 15:06 UTC | |
by Baz (Friar) on May 29, 2002 at 17:20 UTC |
Back to
Seekers of Perl Wisdom