Tidied up PSFTP batch mode. The gross hack using fxp_error_message
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 13 Dec 2001 19:26:51 +0000 (19:26 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 13 Dec 2001 19:26:51 +0000 (19:26 +0000)
commitdf49ff19185b48ea49bc1122a871802ff36c5daa
treef1a19254bd065605f46b75f33c6f09c2de57bc6a
parentfa3db7671d4557362fa059bd440e51197696b07a
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1481 cda61777-01e9-0310-a592-d414129be87e
psftp.c