FTP issue from one server to anothe server
when i try to ftp from server to another server I am getting error below
bash-3.2$ ftp 172.25.27.120 Connected to 172.25.27.120. 220 Service ready for new user. Name (172.25.27.120:ccnusr): crsftp 331 User name okay, need password for crsftp. Password: 230 User logged in, proceed. Remote system type is UNIX. ftp> cd /tmp 250 Directory changed to /tmp ftp> ftp> mput /tmp/tst.air mput /tmp/tst.air? y 200 Command PORT okay. 550 /tmp/tst.air: Permission denied. ftp> ftp> Please let me know if anyone has faced the simialar issue. I have checked the vsftpd.conf file and seems everything is fine anonymous_enable=YES local_enable=YES write_enable=YES #anon_upload_enable=YES #anon_mkdir_write_enable=YES dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES #chown_uploads=YES # The name of log file when xferlog_enable=YES and xferlog_std_format=YES # NO writes to vsftpd_log_file, YES to xferlog_file xferlog_std_format=YES #async_abor_enable=YES #ascii_upload_enable=YES #ascii_download_enable=YES #deny_email_enable=YES # directory. If chroot_local_user is YES, then this list becomes a list of #chroot_local_user=YES #chroot_list_enable=YES #ls_recurse_enable=YES listen=YES #listen_ipv6=YES userlist_enable=YES tcp_wrappers=YES |
Appears to be permission issue. Did you check the permission on the destination where you are trying to do mput. Was it working before or this is a new setup.
You used the command: cd /tmp which will change your FTP directory not your local directory. So if you are trying to do mput from local directory you should use: lcd /tmp instead. Quite possible that user account is not allowed to write to /tmp (since you have changed it to /tmp using cd /tmp) via FTP. You did not mention which flavour of Linux you are using? |
OS version : Red Hat Linux 6.4
My doubt is will there be any firewall between two nodes. since to able to send files to the required directories from other Solaris machine I am working. |
Firewall can be there but it will not just affect the write permission. You won't be able to access the service at all if firewall is blocking a particular port.
Are you trying to say you are not able to enter the passive mode? Did you check if port 20 is open for FTP passive connection? |
All times are GMT -5. The time now is 10:15 AM. |