Search Results

Search: Posts Made By: friand
8,621
Posted By friand
OK , I made it know with a given temporary file....
OK , I made it know with a given temporary file. This works like this:

echo "ls" > $tmp/sftpcmd
sftp -B $tmp/sftpcmd username@remotehost
rm $tmp/sftpcmd
8,621
Posted By friand
f-secure sftp in shell script
Hi,

I am trying to use sftp in a ksh - Shell script, but not even a simple script like this returns not output:

sftp username@remotehost <<END
ls

END

If I do something like this:

sftp...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy