Re:Call for testing: OpenSSH 8.0
by throwaway2048 on Friday March 29, 2019 @07:29AM
(#19520678)
The script-ability of sftp is pretty awkward, it doesen't conform to how virtually every other tool works in terms of "command + args" in a shell scripting context, instead you need to pass it commands through a pipeline, don't love it.
Would be nice to be able to just type sftp user@domain:/file and have it do the right thing.
Oh, that means you have to open a pipe to the process if you want to control it from another programming language? That would be a bit harder to leverage for automation (though I guess it's just a matter of writing a few helper functions, or you could always use bash and redirections if the language is ill-suited to pipes).
Re:Call for testing: OpenSSH 8.0
by LinuxBender on Friday March 29, 2019 @10:21AM
(#19521916)
Add lftp on top of sftp and you get extensive scriptability. Working public anonymous demo: [1]
scp wins on brevity of commandline syntax