X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/421406a46c2afcbfbb2ae69e9aa4b256db80e283..f02bae97623ebebab13031bf2dbae3381f08e195:/doc/psftp.but diff --git a/doc/psftp.but b/doc/psftp.but index f6ac2dc1..d8f0a418 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -74,7 +74,6 @@ containing lines like this: \c ren jam.tar.gz jam-old.tar.gz \c put jam.tar.gz \c chmod a+r jam.tar.gz -\c quit and then you could run the script by typing @@ -84,6 +83,8 @@ When you run a batch script in this way, PSFTP will abort the script if any command fails to complete successfully. To change this behaviour, you can add the \c{-be} option (\k{psftp-option-be}). +PSFTP will terminate after it finishes executing the batch script. + \S{psftp-option-bc} \I{-bc-PSFTP}\c{-bc}: display batch commands as they are run The \c{-bc} option alters what PSFTP displays while processing a @@ -227,6 +228,8 @@ commands (except \c{help} and \c{quit}). To create a connection, type \c{open host.name}, or if you need to specify a user name as well you can type \c{open user@host.name}. +You can optionally specify a port as well: +\c{open user@host.name 22}. Once you have issued this command, you will not be able to issue it again, \e{even} if the command fails (for example, if you mistype