Linux – vsftpd file uploading fail

ftplinux

I have a Lenny server with vsftpd as ftp server.
I have to upload a lot of jgps files, each named like this:

05-09-2010-01.jpg
05-09-2010-02.jpg
….

until

05-09-2010-40.jpg

My problem is that the file "05-09-2010-17.jpg" (seventeen) fails! if I try to upload manually fails too. The only way is rename it, then upload to the remote server.

The client Ubuntu with LVM partitions.

I'm using the command line ftp client (because I use it in a script)

any ideas?!

Best Answer

Maybe there is an existing file with that same name in the same directory, and possibly it is owned by a user that vsftpd can't write over. Also, if I recall correctly, I think you can limit upload size in vsftpd.conf; maybe it is set too low.