Help!

VSFTPD - file size


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup RSS
Next:  How to setup a Terminal Server on Linux EL5  
Author Message
Malfy
External


Since: Aug 01, 2007
Posts: 4



PostPosted: Wed Aug 01, 2007 1:13 am    Post subject: VSFTPD - file size
Archived from groups: comp>os>linux>setup (more info?)

Hi,all
how can i set max file size for files uploaded with vsftpd???

My php script works fine if my file size to upload is less then 500kb,
but for file size more 500kb i have an error message.

So anyone here can help me? Any help is appreciated!

Thanks

Malfy Smile
Back to top
Malfy
External


Since: Aug 01, 2007
Posts: 4



PostPosted: Thu Aug 02, 2007 1:05 am    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2 Ago, 08:41, Matt Giwer <jul... RemoveThis @tampabay.REMover.rr.com> wrote:
> Do you have errors or just error messages?
>


Hi Mat and Peter
thanks for your answers!!!!

i have this setting in php.ini:

upload_max_filesize=12 Mb
upload_tmp_dir=my dir with chmod=777
post_max_size=18Mb

what's wrong????
Please, help me!!

Thanks

Malfy Smile)
Back to top
Peter Chant
External


Since: Jul 31, 2007
Posts: 8



PostPosted: Thu Aug 02, 2007 1:05 am    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Malfy wrote:

> Hi,all
> how can i set max file size for files uploaded with vsftpd???
>
> My php script works fine if my file size to upload is less then 500kb,
> but for file size more 500kb i have an error message.

Have you checked that it is not a filesize issue in php, look in php.ini,
for example:

; Maximum allowed size for uploaded files.
upload_max_filesize = 16M

Perhaps you have this set to 500kb?


Pete


--
http://www.petezilla.co.uk
Back to top
Matt Giwer
External


Since: May 23, 2006
Posts: 295



PostPosted: Thu Aug 02, 2007 2:41 am    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Malfy wrote:
> Hi,all
> how can i set max file size for files uploaded with vsftpd???
>
> My php script works fine if my file size to upload is less then 500kb,
> but for file size more 500kb i have an error message.
>
> So anyone here can help me? Any help is appreciated!

Do you have errors or just error messages?

--
Republicans are more interested in protecting the president than the troops.
-- The Iron Webmaster, 3839
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
commentary http://www.giwersworld.org/opinion/running.phtml a5
Back to top
Malfy
External


Since: Aug 01, 2007
Posts: 4



PostPosted: Fri Aug 03, 2007 12:34 am    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 3 Ago, 01:37, Peter Chant <REMpete....DeleteThis@CAPpetezilla.ITALSco.uk>
wrote:
> ;;;;;;;;;;;;;;;;;;;
> ; Resource Limits ;
> ;;;;;;;;;;;;;;;;;;;



Hi,
i have resolved the problem changing the LimitRequestBody in /httpd/
conf.d/php.conf.
The default value was 524288 (my 500 Kb in the script!!!)!!!!

Thanks a lot for your attention!!!!!

Bye

Malfy Smile)))
Back to top
Peter Chant
External


Since: Jul 31, 2007
Posts: 8



PostPosted: Fri Aug 03, 2007 12:37 am    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Malfy wrote:


> upload_max_filesize=12 Mb
> upload_tmp_dir=my dir with chmod=777
> post_max_size=18Mb
>
> what's wrong????
> Please, help me!!

OK, look at this bit, on my system, some lines rapped. Doubt if it is the
problem unless someone has been doing some funny stuff with the config.

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30 ; Maximum execution time of each script, in
seconds

max_input_time = 60 ; Maximum amount of time each script may spend
parsing request data

;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 128M ; Maximum amount of memory a script may consume
(128MB)


--
http://www.petezilla.co.uk
Back to top
Peter Chant
External


Since: Jul 31, 2007
Posts: 8



PostPosted: Fri Aug 03, 2007 8:22 pm    Post subject: Re: VSFTPD - file size [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Malfy wrote:


> Hi,
> i have resolved the problem changing the LimitRequestBody in /httpd/
> conf.d/php.conf.
> The default value was 524288 (my 500 Kb in the script!!!)!!!!
>
> Thanks a lot for your attention!!!!!

Glad you got there - far too many places to mess up the limit!

Pete

--
http://www.petezilla.co.uk
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Setup All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum