LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ftp problem (https://www.linuxquestions.org/questions/linux-networking-3/ftp-problem-766393/)

gubak 11-03-2009 01:07 AM

ftp problem
 
Hi!

I use CentOS 5.4, my ftp server is "vsftpd".
I installed CentOS 5.4 . Create one user "myftp" and started ftp server. Then I was connecting succesfuly to ftp server from a windows machine with Total Commander. My problem:

When I want to copy some file from windows machine to linux through ftp Total Commander gives me the following error:

Code:

553 Could not create file

Why can't I use ftp?

Thanks!

eth1 11-03-2009 01:19 AM

This certainly appears to be a permission/ownership problem for the FTP user directory.

Assuming you created the user using useradd and did not modify the home directory of the user to anything apart from /home/user, can you provide us with the current permissions and ownership of the directory ?

Quote:

ls -ald /home/ftpuser
where ftpuser is the username of the FTP user.

chappel 11-03-2009 09:36 PM

I just finished fighting this exact issue. In addition to double-checking the directory and file permissions, make sure you've covered the basics - there should be a line in your /etc/vsftpd.conf file that reads 'write_enable=YES'

Don't forget to restart the ftp server to get any changes to take effect ('/etc/init.d/vsftpd reload' on my ubuntu box).

Good luck!

ch


All times are GMT -5. The time now is 10:13 PM.