Can't upload large file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
amargharat
Forum Commoner
Posts: 82
Joined: Wed Sep 16, 2009 2:43 am
Location: Mumbai, India
Contact:

Can't upload large file

Post by amargharat »

Hi,
I am trying to upload 2 GB file but i can't upload
i also changed directive as follows,

php_value upload_max_filesize 3000M
php_value post_max_size 3000M
php_value max_execution_time 900
php_value max_input_time 360
php_value memory_limit 200M

and my system has 1 GB ram.

I am very tried of hunting help for this :banghead:
Gargoyle
Forum Contributor
Posts: 130
Joined: Wed Jul 14, 2010 12:25 am

Re: Can't upload large file

Post by Gargoyle »

what error message are you getting and what operating system do you use?
buckit
Forum Contributor
Posts: 169
Joined: Fri Jan 01, 2010 10:21 am

Re: Can't upload large file

Post by buckit »

you may be facing a client side problem. I dont believe (unless recently changed) browsers support uploading files over 2gb.

thats why upload scripts exist. You will be much better off using a flash or java upload script to upload large files. One of the big reasons is the stability of uploading large files via a browser... the SMALLEST little blip and it fails the upload. so when a customer/user gets to 1.8gb uploaded and it happens to fail, they have to start all over again. using a Flash or Java upload script will allow uploads to be resumed after having failed. they also provide a much better progress bar so the customer/user knows whats going on.
Post Reply