PuTTY Secure Copy client
Putty is a command used by Windows software to transfer files to the connected host
Usage:
- Download files from a remote host:
pscp [options] [user@]host:sourse target
Example: PSCP gzlaoben:/etc/my.cnf D:\
- To upload a local file to a remote device:
pscp [options] source [source...] [user@]host:target
Example: PSCP D:\my.cnf gzlaoben:/etc
- View details about a file on a remote host:
pscp [options] -ls [user@]host:filespec
Example: pscp-ls gzlaoben:/etc
Note:
- Options: PSCP parameters.
- User: user name for logging in to a remote host. If no, use the default user configured in Putty.
- Host: indicates the name of the remote host, that is, the alias of the host configured in Putty.
- Source: the file or folder to be transferred.
- Target: The location where the transferred file needs to be placed.
- Filespec: file description.
Common parameters options:
-q
Quiet, don’t show statistics.-r
Copy directories for recursively copying folders. This parameter must be worn when transferring folders.-v
Show verbose messages. Displays detailed information, including SSH connection logs.