Tag Archives: Quote Site

Replace FTP with SFTP

By desai.vishnu

Hi All,

I am in the process of replacing SFTP instead of FTP to make data more secure. In one of my FTP script I have Quote Site command. I would like to know, what is the option to replace this in SFTP

Code:

ftp -n -v </dev/null
open $remote_address
user ${remote_login_id} ${remote_password}
quote site $quote_site_cmd
cd $remote_dir
binary
put $local_file $remote_file
quit


Please help me to solve this.

Thanks in advance
Vishnu

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums