X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=doc%2Fpsftp.but;h=400943762d75312bd25145d103bf2a87b993d56b;hb=3f8bd285983e7cbf677d2469990a72e1dd94be16;hp=57ba0fa583f67c8f7ba1746d8244524b8e0e9518;hpb=0d7dc070d593de2ff6916eb04a7d73368d2196ae;p=PuTTY.git diff --git a/doc/psftp.but b/doc/psftp.but index 57ba0fa5..40094376 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -1,4 +1,4 @@ -\versionid $Id: psftp.but,v 1.3 2001/12/16 13:33:04 simon Exp $ +\versionid $Id: psftp.but,v 1.4 2001/12/31 16:15:19 simon Exp $ \C{psftp} Using PSFTP to transfer files securely @@ -153,6 +153,18 @@ processing even if a command fails to complete successfully. You might want this to happen if you wanted to delete a file and didn't care if it was already not present, for example. +\S{psftp-usage-options-batch}\c{-batch}: avoid interactive prompts + +If you use the \c{-batch} option, PSFTP will never give an +interactive prompt while establishing the connection. If the +server's host key is invalid, for example (see \k{gs-hostkey}), then +the connection will simply be abandoned instead of asking you what +to do next. + +This may help PSFTP's behaviour when it is used in automated +scripts: using \c{-batch}, if something goes wrong at connection +time, the batch job will fail rather than hang. + \H{psftp-commands} Running PSFTP Once you have started your PSFTP session, you will see a \c{psftp>}