X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=doc%2Fpsftp.but;h=93bef742666e41ac45c189f858eeef1f76040871;hb=91653a10c6e6b9d57688e1d7dd7403625ea670a0;hp=f6ac2dc1b6e0e7c3f85e5418bd9db27a5de0a5af;hpb=0e82598a3589b15a9f4db1bc8a3357f28922441c;p=PuTTY.git diff --git a/doc/psftp.but b/doc/psftp.but index f6ac2dc1..93bef742 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -1,5 +1,3 @@ -\define{versionidpsftp} \versionid $Id$ - \C{psftp} Using \i{PSFTP} to transfer files securely \i{PSFTP}, the PuTTY SFTP client, is a tool for \i{transferring files} @@ -74,7 +72,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 +81,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 +141,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 +229,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