11

SFTP help

view full story
linux-howto

http://www.unix.com – Hi Guys, I am able to create a file with all the sftp command required. I was able to ftp the files in the similiar fashion using ftp command. The following i used for ftp. Code: ftp -n < $filename But when i try the same for Sftp. i am getting error. The file i am creating is in the following format. Code: open <Targetip> user <USERID> <PASSWORD> verbose on cd <LOCATION> lcd <SOURCE LOCATION> mput * close bye This will run in a loop changing the Targetip and Source Location. Can somebody help me in running this SFTP file. Cheers!!!!!! (HowTos)