]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Tidied up PSFTP batch mode. The gross hack using fxp_error_message
authorSimon Tatham <anakin@pobox.com>
Thu, 13 Dec 2001 19:26:51 +0000 (19:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 13 Dec 2001 19:26:51 +0000 (19:26 +0000)
commit8ecf3e147da4e464b92249197f16ee3d01331aef
treef1a19254bd065605f46b75f33c6f09c2de57bc6a
parent9cfcab6cb663d6022308df40be1d710815e5053f
Tidied up PSFTP batch mode. The gross hack using fxp_error_message
to report command failures is now gone; instead each sftp_cmd_*
routine returns 0 or 1 depending on success, like they should have
done right from the start. This fixes problems with `ls' prematurely
terminating PSFTP batch files.

[originally from svn r1481]
psftp.c