sftpc - Bitvise Tunnelier command-line SFTP client help output for version 4.14 ------------------------------------------------------------------------------ sftp> help Available commands: mkdir, md Create remote directory lmkdir, lmd Create local directory rmdir, rd Remove remote directory lrmdir, lrd Remove local directory cd Change remote directory lcd Change local directory pwd Print remote working directory lpwd Print local working directory dir, ls Display remote directory listing ldir, lls Display local directory listing type View or set default transfer mode get Download file put Upload file queue Manage background transfer queue move, mv Move remote file lmove, lmv Move local file del, rm Delete remote file ldel, lrm Delete local file symlink, ln Create symbolic link chmod Change permissions of file chown Change owner of file chgrp Change group of file !command Execute 'command' in local shell ! Launch local shell version, ver Show SFTP client and protocol version help, ? Display SFTP client usage information exit, quit Exit SFTP client Type 'help ' for more information about a particular command. ------------------------------------------------------------------------------ sftp> help md USAGE: mkdir remote-path DESCRIPTION: Create remote directory. SYNONYM: md ------------------------------------------------------------------------------ sftp> help lmd USAGE: lmkdir local-path DESCRIPTION: Create local directory. SYNONYM: lmd ------------------------------------------------------------------------------ sftp> help rd USAGE: rmdir [remote-path] DESCRIPTION: Remove the specified remote directory. To remove whole directory trees, use 'del -s'. SYNONYM: rd ------------------------------------------------------------------------------ sftp> help lrd USAGE: lrmdir [local-path] DESCRIPTION: Remove local directory. SYNONYM: lrd ------------------------------------------------------------------------------ sftp> help cd USAGE: cd [remote-path] DESCRIPTION: Change remote directory to 'remote-path' or home directory. ------------------------------------------------------------------------------ sftp> help lcd USAGE: lcd local-path DESCRIPTION: Change local directory to 'local-path'. ------------------------------------------------------------------------------ sftp> help pwd USAGE: pwd DESCRIPTION: Display remote working directory. ------------------------------------------------------------------------------ sftp> help lpwd USAGE: lpwd DESCRIPTION: Display local working directory. ------------------------------------------------------------------------------ sftp> help dir USAGE: dir [remote-path] [-s] DESCRIPTION: Display remote directory listing. PARAMETERS: -s Include subdirectories (recursive). SYNONYM: ls ------------------------------------------------------------------------------ sftp> help ldir USAGE: ldir [local-path] DESCRIPTION: Display local directory listing. SYNONYM: lls ------------------------------------------------------------------------------ sftp> help type USAGE: type [b | lf] DESCRIPTION: View or set default transfer mode. PARAMETERS: b Set binary as default transfer mode. All files are transferred without conversion. Best for use with Windows servers. This transfer mode is selected by default. lf Set auto detection as default transfer mode. When downloading, text files are converted internally if necessary. When uploading, text files are converted to Unix format, with LF as line delimiter. Binary files are unaffected. NOTES: - 'std' and 't' transfer mode options are also available when SFTP version 4 or higher is in use. ------------------------------------------------------------------------------ sftp> help get USAGE: get remote-path [local-path] [-bg | -fg] [-s] [-o] [-r] [-b | -lf] DESCRIPTION: Download file. PARAMETERS: -bg Start (queue) transfer in background. -fg Start transfer in foreground. -s Include subdirectories (recursive). -r Force existing incomplete file to be resumed. -o Force existing file to be overwritten. -b Download all files as binary; no conversions. -lf Auto-detect text files and convert internally if necessary. NOTES: - If both '-r' and '-o' are specified, resume is tried first, and if that fails, overwrite is used. - '-std' and '-t' transfer mode options are also available when SFTP protocol version 4 or higher is in use. ------------------------------------------------------------------------------ sftp> help put USAGE: put local-path [remote-path] [-bg | -fg] [-s] [-o] [-r] [-b | -lf] DESCRIPTION: Upload file. PARAMETERS: -bg Start (queue) transfer in background. -fg Start transfer in foreground. -s Include subdirectories (recursive). -r Force existing incomplete file to be resumed. -o Force existing file to be overwritten. -b Upload all files as binary; no conversions. -lf Use auto detection upload mode. Text files are uploaded in Unix format, with LF as the line delimiter. NOTES: - If both '-r' and '-o' are specified, resume is tried first, and if that fails, overwrite is used. - '-std' and '-t' transfer mode options are also available when SFTP version 4 or higher is in use. ------------------------------------------------------------------------------ sftp> help queue USAGE: queue queue-selection [queue-action [transfer-id | 'all']] DESCRIPTION: Manage background transfer queue. PARAMETERS: queue-selection Either 'download'/'get' or 'upload'/'put', depending on the queue desired. queue-action Use 'list'/'ls' to list the desired queue, or 'remove'/'rm' to remove transfer(s) from the queue. transfer-id When 'remove' is requested, this parameter can specify s transfer to be removed. If all transfers are to be removed, then 'all' keyword should be used instead. ------------------------------------------------------------------------------ sftp> help move USAGE: move remote-source-path remote-destination-path [-d] DESCRIPTION: Move the specified remote file. PARAMETERS: -d When using wildcards, move matching directories as well. SYNONYM: mv, rename, ren ------------------------------------------------------------------------------ sftp> help lmove USAGE: lmove local-source-path local-destination-path DESCRIPTION: Move the specified local file. PARAMETERS: -d When using wildcards, move matching directories as well. SYNONYM: lmv, lrename, lren ------------------------------------------------------------------------------ sftp> help del USAGE: del remote-path [-s] DESCRIPTION: Delete remote file. PARAMETERS: -s Include subdirectories (recursive). SYNONYM: del ------------------------------------------------------------------------------ sftp> help ldel USAGE: ldel local-path [-s] DESCRIPTION: Delete local file. PARAMETERS: -s Include subdirectories (recursive). SYNONYM: lrm ------------------------------------------------------------------------------ sftp> help symlink USAGE: symlink remote-target-path remote-link-path DESCRIPTION: Create a symbolic link for the specified remote target file. SYNONYM: ln ------------------------------------------------------------------------------ sftp> help chmod USAGE: chmode mode remote-path [-s] DESCRIPTION: Change the access mode for file 'remote-path' to 'mode'. PARAMETERS: -s Include subdirectories (recursive). ------------------------------------------------------------------------------ sftp> help chown USAGE: chown owner-id remote-path [-s] DESCRIPTION: Change the owner of file 'remote-path' to 'owner-id'. PARAMETERS: -s Include subdirectories (recursive). NOTES: - The syntax of this command is different when SFTP version 4 or higher is in use. ------------------------------------------------------------------------------ sftp> help chgrp USAGE: chgrp group-id remote-path [-s] DESCRIPTION: Change the group of file 'remote-path' to 'group-id'. PARAMETERS: -s Include subdirectories (recursive). NOTES: - The syntax of this command is different when SFTP version 4 or higher is in use. ------------------------------------------------------------------------------ sftp> help ! USAGE: !command DESCRIPTION: Execute 'command' in the local shell. If only '!' is entered (no command), an instance of the local shell is launched - exit it to return to SFTP. ------------------------------------------------------------------------------ sftp> help ver USAGE: version DESCRIPTION: Display SFTP client and protocol version. SYNONYM: ver ------------------------------------------------------------------------------ sftp> help quit USAGE: exit DESCRIPTION: Exit SFTP client. SYNONYM: quit