X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/93e86a8b5a53e3d7ea25afdb0eb97ee6a4ed710e..9c77ddf65fc39fdb5d35ed6b06c3817fc9f56982:/doc/psftp.but diff --git a/doc/psftp.but b/doc/psftp.but index 716870e5..d9c070c1 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -291,6 +291,26 @@ have to use the \c{--} special argument, which stops \c{put} from interpreting anything as a switch after it. For example, \cq{put -- -silly-name-}.) +\S{psftp-cmd-mgetput} The \c{mget} and \c{mput} commands: fetch or +send multiple files + +\c{mget} works almost exactly like \c{get}, except that it allows +you to specify more than one file to fetch at once. You can do this +in two ways: + +\b by giving two or more explicit file names (\cq{mget file1.txt +file2.txt}) + +\b by using a wildcard (\cq{mget *.txt}). + +Every argument to \c{mget} is treated as the name of a file to fetch +(unlike \c{get}, which will interpret at most one argument like +that, and a second argument will be treated as an alternative name +under which to store the retrieved file), or a wildcard expression +matching more than one file. + +\c{mput} is similar to \c{put}, with the same differences. + \S{psftp-cmd-regetput} The \c{reget} and \c{reput} commands: resuming file transfers