Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

VSFTPD - file size

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  How to setup a Terminal Server on Linux EL5  
Author Message
Malfy

External


Since: Aug 01, 2007
Posts: 3



(Msg. 1) Posted: Tue Jul 31, 2007 8:13 pm
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
Login to vote
Peter Chant

External


Since: Aug 02, 2007
Posts: 4



(Msg. 2) Posted: Wed Aug 01, 2007 7:47 pm
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
Login to vote
Malfy

External


Since: Aug 01, 2007
Posts: 3



(Msg. 3) Posted: Wed Aug 01, 2007 8:05 pm
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... DeleteThis @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
Login to vote
Matt Giwer

External


Since: Jun 08, 2006
Posts: 201



(Msg. 4) Posted: Wed Aug 01, 2007 9:41 pm
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
Login to vote
Peter Chant

External


Since: Aug 02, 2007
Posts: 4



(Msg. 5) Posted: Thu Aug 02, 2007 6:47 pm
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
Login to vote
Malfy

External


Since: Aug 01, 2007
Posts: 3



(Msg. 6) Posted: Thu Aug 02, 2007 7:34 pm
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
Login to vote
Peter Chant

External


Since: Aug 02, 2007
Posts: 4



(Msg. 7) Posted: Fri Aug 03, 2007 2:47 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
Login to vote
Display posts from previous:   
Related Topics:
VSFTPD File Name Filtering - Has anyone configured VSFTPD to prevent uploading of certain kinds of file names? For example PROFTPD has a directive..

max file size - Can ext3 handle a file size > 4Gig? -thanva

File size exceeded - Hello everyone, I'm trying to back my MySQL file and they have grown quite a bit... I'm running in the "file siz...

Change Maximum File Size - hai all, is there any way i restrict the file size for a directory. What i mean is for some directory 'x' there should....

RAM-disk of 16 Megs size and root file system mounted to i.. - Anybody knows how to build RAM-disk of 16 Megs size and root file system mounted to it ? I unsuccessfully try to build ...

Starting vsftpd - My son sent me a computer configured with RH 9 and vsftpd is installed, however it does not appear to be started (ps -...
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific 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

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]