nicky s
asked on
SFTP
what are the quivalent commands for sftp
ftp -n -i $FTPSERVER <<EOF 2>&1 >/dev/null
user ${FTPUSER} ${FTPPWD}
Oops, it does take piped input. So if that's the sftp you are using, then you might be able to find an equivalent.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Even better....
Learn a bit about ssh-keys.. They're actually more secure than passwords, and permits automated login.
(not to be confused with .netrc, which is clear-text and not to be considered secure)
Then you can automate stuff such as this...
(echo lcd /some/application_dir; echo put myfile;echo quit) | sftp userid@hostname.domain
Learn a bit about ssh-keys.. They're actually more secure than passwords, and permits automated login.
(not to be confused with .netrc, which is clear-text and not to be considered secure)
Then you can automate stuff such as this...
(echo lcd /some/application_dir; echo put myfile;echo quit) | sftp userid@hostname.domain
Curios, which client did you end up going with?
http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1
I don't think this accepts piped input, in which case there is no equivalent.