X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=doc%2Fpsftp.but;h=be8ac3f628823910aa5596544baee5895752b014;hb=cc66c86e7311c97db09da989c340ba3108c9e14f;hp=f6ac2dc1b6e0e7c3f85e5418bd9db27a5de0a5af;hpb=0e82598a3589b15a9f4db1bc8a3357f28922441c;p=PuTTY.git diff --git a/doc/psftp.but b/doc/psftp.but index f6ac2dc1..be8ac3f6 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 @@ -142,6 +143,9 @@ Once you have started your PSFTP session, you will see a \c{psftp>} prompt. You can now type commands to perform file-transfer functions. This section lists all the available commands. +Any line starting with a \cw{#} will be treated as a \i{comment} +and ignored. + \S{psftp-quoting} \I{quoting, in PSFTP}General quoting rules for PSFTP commands Most PSFTP commands are considered by the PSFTP command interpreter @@ -227,6 +231,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