source file: source1.txt
server ip : 61.155.5.15
server shh port : 2222
destination file:d\target1.txt
command line:
pscp -l al -P 2222 source1.txt user@67.155.5.15:d\target1.txt
pscp help:
PuTTY Secure Copy client
Release 0.57
Usage: pscp [options] [user@]host:source target
pscp [options] source [source...] [user@]host:target
pscp [options] -ls [user@]host:filespec
Options:
-p preserve file attributes
-q quiet, don't show statistics
-r copy directories recursively
-v show verbose messages
-load sessname Load settings from saved session
-P port connect to specified port
-l user connect with specified username
-pw passw login with specified password
-1 -2 force use of particular SSH protocol version
-C enable compression
-i key private key file for authentication
-batch disable all interactive prompts
-unsafe allow server-side wildcards (DANGEROUS)
-V print version information
-sftp force use of SFTP protocol
-scp force use of SCP protocol
server ip : 61.155.5.15
server shh port : 2222
destination file:d\target1.txt
command line:
pscp -l al -P 2222 source1.txt user@67.155.5.15:d\target1.txt
pscp help:
PuTTY Secure Copy client
Release 0.57
Usage: pscp [options] [user@]host:source target
pscp [options] source [source...] [user@]host:target
pscp [options] -ls [user@]host:filespec
Options:
-p preserve file attributes
-q quiet, don't show statistics
-r copy directories recursively
-v show verbose messages
-load sessname Load settings from saved session
-P port connect to specified port
-l user connect with specified username
-pw passw login with specified password
-1 -2 force use of particular SSH protocol version
-C enable compression
-i key private key file for authentication
-batch disable all interactive prompts
-unsafe allow server-side wildcards (DANGEROUS)
-V print version information
-sftp force use of SFTP protocol
-scp force use of SCP protocol
1 comment:
All the other SFTP libraries that I have seen are way overpriced. This is a good one:
https://www.kellermansoftware.com/p-41-net-sftp-library.aspx
Post a Comment