Sukhwinder Singh wrote:
I will again suggest http://radinks.com/upload/ . It does not use
POST to
transfer huge files.
Thanks everyone for replying.
I had a look at that. My problem is that along with uploading file I
also have to post some other information as well. File names are
randomly generated. Jupload seems to do the work other than that POST
problem. Client is asking for web based solution. I cannot ask him to do
ftp.
PHP's handling of uploaded files is confusing. I have added logging to
the script to which jupload posts. Logging suggests that php file is
only accessed after file is completely uploaded by jupload. I also
checked apache access logs. Entry in apache log appears only after file
is completely uploaded.
Another thing that came up with this jupload is that as soon as I hit
upload button, a file named phpxx.tmp (xx is any number) is created in
temporary directory and its size starts growing as upload happens.
If applet doesn't post to php even at start then how come the temporary
file is named phpxx.tmp.
I tried to upload file on internet using jupload and it seems to me
script is timing out even when I have specified 1 hour as timeout.
set_time_limit(216000);
The php script that you are posting to does not get parsed until PHP has control of the upload.
There for, you cannot override the timeout with uploads.
afaik, you are using the stock php.ini setting while you are uploading.
look here
http://us.php.net/set_time_limit#33462
and this
http://us.php.net/set_time_limit#54765
I think you are running into an Apache time limit, not php
137 MB upload seemed to time out. and the set_time_limit doesn't seem to
have any affect.
Now the even if I accept php's 1.99 GB limit. What to do about this
timeout? Do I have to set it in php.ini? Why woudn't it work through the
above function?
Stut is suggesting it has to be custom made as this kind of solution
doesn't seem to already exit. A solution where some applet etc. only
passes that information to php which is needed to move the file and
update the database.
Thanks,
Sukhwinder Singh
----- Original Message ----- From: "Jim Moseby" <JMoseby@xxxxxxxxxxxxxxxxx>
To: "'Sukhwinder Singh'" <ssruprai@xxxxxxxxxxx>; "Abdullah Ramazanoglu"
<ar018@xxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Friday, June 08, 2007 5:40 PM
Subject: RE: Re: File Upload - post_max_size and
upload_max_filesize in GBs
Any suggestion to use some other applet. Any freeware etc. Or
one not so
expensive and which overcomes this php's 1.99 gb limit.
I will again suggest http://radinks.com/upload/ . It does not use
POST to
transfer huge files.
JM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php