HI,
I am facing problem in connecting ftp from the windows client.
CENTOS5U1 Running vsftp daemon. From linux client i am able to upload and download. When i do an ftp upload of any files or folders from windows command line i am getting below error .
*vsftp 553 Could not create file*
*NOTE: SELINUX IS DISABLED AND THERE IS NO FIREWALL RUNNING*
See my user permission and ownership details
User i am using is paps
ll -ld /home/paps/ drwxr-xr-x 2 paps dba 4096 Jun 10 23:09 /home/paps/
My vsftp configuration
cat /etc/vsftpd/vsftpd.conf |grep -v # anonymous_enable=YES local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_file=/var/log/vsftpd.log xferlog_std_format=YES listen=YES
pam_service_name=vsftpd userlist_enable=YES tcp_wrappers=YES
Regards
lingu
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi lingu, | *vsftp 553 Could not create file*** I think this means you have a file with the same name already there, and you don't have permission to replace it. I connected from Windows to my CentOS 5.1 server using the same vsftpd.conf settings, and here's the transcript:-
C:\Users\Ian>ftp 192.168.3.2 Connected to 192.168.3.2. 220 (vsFTPd 2.0.5) User (192.168.3.2:(none)): ian 331 Please specify the password. Password: 230 Login successful. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. ftp: 600 bytes sent in 0.00Seconds 300.00Kbytes/sec. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. ftp: 600 bytes sent in 0.00Seconds 200.00Kbytes/sec. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp>
All worked well until the last send, when I had changed the file permissions for winscp.RND from rw-r--r-- to r--r--r--. This was all with iptables and SELinux running at the time.
Hope that helps :)
Ian
HI ian,
No its been the new file and directory i am trying to upload.And also i checked with send and put command from linux client it is overwriting properly if the file is already existing on the ftp users directory.I DONT KNOW WHAT IS THE PROBLEM WITH WINDOWS.For your information there is no firewall or selinux runnig on that ftp server.
Regards lingu
On Tue, Jun 10, 2008 at 2:33 PM, Ian Blackwell ian@ikel.id.au wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi lingu, | *vsftp 553 Could not create file*** I think this means you have a file with the same name already there, and you don't have permission to replace it. I connected from Windows to my CentOS 5.1 server using the same vsftpd.conf settings, and here's the transcript:-
C:\Users\Ian>ftp 192.168.3.2 Connected to 192.168.3.2. 220 (vsFTPd 2.0.5) User (192.168.3.2:(none)): ian 331 Please specify the password. Password: 230 Login successful. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. ftp: 600 bytes sent in 0.00Seconds 300.00Kbytes/sec. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. ftp: 600 bytes sent in 0.00Seconds 200.00Kbytes/sec. ftp> send winscp.RND 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp>
All worked well until the last send, when I had changed the file permissions for winscp.RND from rw-r--r-- to r--r--r--. This was all with iptables and SELinux running at the time.
Hope that helps :)
Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFITkNKLwWMnKQTL2sRAlk9AJ4iCpB2nDNmpUSLW0nbWOHlEdI60QCePtRw h8nhAQyXZbiNtI+pq3FETiA= =m+rf -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I mentioned firewall and SELinux to positively exclude them. For me, with both running, I was getting the same error when I was trying to overwrite an existing file with read-only permissions. When the file was read-write I was able to repeatedly overwrite it.
Is there anything in your /var/log/vsftpd.log or /var/log/messages log files?
Ian
On Tue, Jun 10, 2008 at 02:54:53PM +0530, lingu wrote:
HI ian,
No its been the new file and directory i am trying to upload.And also i checked with send and put command from linux client it is overwriting properly if the file is already existing on the ftp users directory.I DONT KNOW WHAT IS THE PROBLEM WITH WINDOWS.For your information there is no firewall or selinux runnig on that ftp server.
what about - showing the full transcript of your commands as Ian did? - the logs from /var/log/vsftpd.log, /var/log/messages, /var/log/secure ?
And respect the mailing list guidelines - TRIM your replies - BOTTOM post
Thanks.
Tru