I just installed vsftpd on Debian and I am attempting to upload a file to my ftp server using the anonymous option. I have the server obviously running and when I try to upload, they appear to fail. I am using cli as a ftp client so I might be doing it wrong:
Code:
carlos@bull:~/Desktop$ ls -l
total 49232
-rw-r--r-- 1 carlos it 50359534 2008-11-04 18:21 kernel.tar.bz2
carlos@bull:~/Desktop$ ftp
ftp> open
(to) unixslut.com
Connected to unixslut.com.
220 Welcome to unixslut.com!!!
Name (unixslut.com:carlos): carlos
530 This FTP server is anonymous only.
Login failed.
I then logged in as 'anonymous':
Code:
ftp> open
(to) unixslut.com
Connected to unixslut.com.
220 Welcome to unixslut.com!!!
Name (unixslut.com:carlos): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put
(local-file) /home/carlos/Desktop/kernel.tar.bz2
(remote-file) /home/ftp/kernel.tar.bz2
local: /home/carlos/Desktop/kernel.tar.bz2 remote: /home/ftp/kernel.tar.bz2
200 PORT command successful. Consider using PASV.
553 Could not create file.
I checked log files [
/var/log/vsftpd.log] and it does not give me much detailed info besides the fact the upload failed...duh!
Now I am guessing the ftp root directory is /home/ftp on the vsftpd server and I am wondering if there is a permission issue on that directory that is causing the upload failure:
Code:
hammer:/home# ls -l
total 8
drwx------ 4 carlos users 4096 2008-11-04 18:18 carlos
drwxr-xr-x 2 root nogroup 4096 2008-11-04 18:19 ftp
Anyone know what is keeping me from getting a successful upload to my server?