unable download the file through "put" command for anonymous user
Hi all.
I have made ftp server.But from the client side I am not able to download the file(client to server) through "put" command for anonymous user.Details given bellow.
Server computer IP 200.200.200.72
Client computer IP 200.200.200.83
Server Side(200.200.200.72)
My FTP share directory is "/var/ftp"
I have made three files in this directory.Files r given "a , b , c"
1.I have install vsftpd package
2.cd /etc/vsftpd/vsftpd.conf
3.vim vsftpd.conf
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=002
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
chown_uploads=YES
chown_username=daemon
xferlog_std_format=YES
listen=yes
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=yes
4. getsebool -a |grep ftpd
5. setsebool -P allow_ftpd_anon_write=on
setsebool -P allow_ftpd_full_access=on
setsebool -P allow_ftpd_use_cifs=on
setsebool -P allow_ftpd_use_nfs=off
setsebool -P ftpd_disable_trans=on
setsebool -P ftpd_is_daemon=on
setsebool -P tftpd_disable_trans=on
6.getsebool -a |grep ftp
setsebool -P ftp_home_dir=on
httpd_enable_ftp_server=on
7.made as enforcing mode(Selinux)
8.chkconfig --list |grep vsftpd
9.chkconfig --list |grep ftp
10.chkconfig vsftpd on
11.chkconfig ftp on
12.service vsftpd start
Client Side(200.200.200.83)
1.cd/root/
2.cat >myftp
3.ftp 200.200.200.72
4.username as "anonymous"
5.password "enter"
Now I tried lots of procedure, But I did not succeed.Procedure given bellow.
6.put
(local-file)myftp
(remote-file)/var/ftp/myftp
or
put
(local-file)myftp
(remote-file)/var/ftp/
or
put
(local-file)myftp
(remote-file)/root/myftp
or
put
(local-file)myftp
(remote-file)/root/
or
put
(local-file)/root/myftp
(remote-file)/var/ftp/myftp
or
put
(local-file)/root/myftp
(remote-file)/var/ftp/
or
put
(local-file)/root/myftp
(remote-file)/ftp/myftp
or
put
(local-file)/root/myftp
(remote-file)/ftp/
or
put
(local-file)myftp
(remote-file)/ftp/
or
put myftp
Nothing is working. Even I am getting following errors.[B]
"Entering passive mode(200,200,200,72,37,112)
553 could not create file"
So can you suggest me that how can I download the file through "put" command!
Thank you all
|