LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shell script using sftp (https://www.linuxquestions.org/questions/linux-newbie-8/shell-script-using-sftp-770366/)

soumyacs 11-19-2009 11:46 PM

Shell script using sftp
 
Hi All,

I want to copy a file from a linux server to a public IP using SFTP.

I want the script for that one.

Thanks in advance

xaler 11-20-2009 12:22 AM

Quote:

Originally Posted by soumyacs (Post 3763490)
Hi All,

I want to copy a file from a linux server to a public IP using SFTP.

I want the script for that one.

Thanks in advance

Please paste here whatever you have done so far....

speck 11-20-2009 01:22 AM

Also, it's usually easier to use "scp" in a script instead of "sftp".

bijit1709 11-22-2009 11:26 PM

for using sftp in shell script I use /usr/bin/expect .

archtoad6 11-30-2009 03:51 AM

That's nice, but it's not pasting what you have.


All times are GMT -5. The time now is 05:59 PM.