\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
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
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
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