Re: Problem with large file upload
- From: Steven Saunderson <phelum@xxxxxx>
- Date: Fri, 28 Jul 2006 12:28:30 +1000
On Tue, 27 Jun 2006 00:41:44 CST, yf110@xxxxxxxxxxxxxx (Malcolm
Dew-Jones) wrote:
I think you mean you're using CGI.pm
It saves the upload into a temporary file. Perhaps the server is not
allowing your script to save a temporary file larger than 1/2 Meg.
Hi Malcolm,
I have done some more testing and checked CGI.pm. Mysteriously,
everything now works so I suspect the problem was due to recent security
changes in the server.
When I couldn't get the Perl script (using CGI.pm) to work I wrote a C++
version which uploads 20MB reliably. Then I wrote a Perl version
(without CGI.pm) but this didn't work. The next day it did upload
correctly and the original also worked.
The links to the files are :
<http://phelum.com/files/upload.pl> - Perl using CGI.pm
<http://phelum.com/files/upload1.pl> - Perl without CGI.pm
<http://phelum.com/files/upload.cgi> - C++ executable
<http://phelum.com/files/upload.cpp> - C++ source
<http://phelum.com/files/CGI.inc> - C++ include
The original purpose for the upload script has now passed but I have
certainly learnt much more about Perl, CGI, and POST streams.
Thanks for your input. It did inspire me to search through CGI.pm and
see how it works.
--
Steven
--
PLEASE NOTE: comp.infosystems.www.authoring.cgi is a
SELF-MODERATED newsgroup. aa.net and boutell.com are
NOT the originators of the articles and are NOT responsible
for their content.
HOW TO POST to comp.infosystems.www.authoring.cgi:
http://www.thinkspot.net/ciwac/howtopost.html
.
- Prev by Date: cgi.pm upload question
- Next by Date: Re: cgiemail problem with return-path
- Previous by thread: cgi.pm upload question
- Next by thread: Re: cgiemail problem with return-path
- Index(es):
Relevant Pages
|