linux命令上传代码 linux命令( 二 )


-M, --min-bps-time Nfor at least N seconds (default: 120)
-O, --disable-timeoutsdisable timeout code, wait forever for data
--o-syncopen output file(s) in synchronous write mode
-p, --protectprotect existing files
-q, --quietquiet, no progress reports
-r, --resumetry to resume interrupted file transfer (Z)
-R, --restrictedrestricted, more secure mode
-s, --stop-at {HH:MM|+N}stop transmission at HH:MM or in N seconds
-S, --timesyncrequest remote time (twice: set local time)
--syslog[=off]turn syslog on or off, if possible
-t, --timeout Nset timeout to N tenths of a second
-u, --keep-uppercasekeep upper case filenames
-U, --unrestrictdisable restricted mode (if allowed to)
-v, --verbosebe verbose, provide debugging information
-w, --windowsize NWindow is N bytes (Z)
-X--xmodemuse XMODEM protocol
-y, --overwriteYes, clobber existing file if any
--ymodemuse YMODEM protocol
-Z, --zmodemuse ZMODEM protocol
short options use the same arguments as the long ones
#sz --help
sz version 0.12.20
Usage: sz [options] file ...
or: sz [options] -{c|i} COMMAND
Send file(s) with ZMODEM/YMODEM/XMODEM protocol
(X) = option applies to XMODEM only
(Y) = option applies to YMODEM only
(Z) = option applies to ZMODEM only
-+, --appendappend to existing destination file (Z)
-2, --twostopuse 2 stop bits
-4, --try-4kgo up to 4K blocksize
--start-4kstart with 4K blocksize (doesn't try 8)
-8, --try-8kgo up to 8K blocksize
--start-8kstart with 8K blocksize
-a, --asciiASCII transfer (change CR/LF to LF)
-b, --binarybinary transfer
-B, --bufsize Nbuffer N bytes (N==auto: buffer whole file)
-c, --command COMMANDexecute remote command COMMAND (Z)
-C, --command-tries Ntry N times to execute a command (Z)
-d, --dot-to-slashchange '.' to '/' in pathnames (Y/Z)
--delay-startup Nsleep N seconds before doing anything
-e, --escapeescape all control characters (Z)
-E, --renameforce receiver to rename files it already has
-f, --full-pathsend full pathname (Y/Z)
-i, --immediate-command CMD send remote CMD, return immediately (Z)
-h, --helpprint this usage message
-k, --1ksend 1024 byte packets (X)
-L, --packetlen Nlimit subpacket length to N bytes (Z)
-l, --framelen Nlimit frame length to N bytes (l=L) (Z)
-m, --min-bps Nstop transmission if BPS below N
-M, --min-bps-time Nfor at least N seconds (default: 120)
-n, --newersend file if source newer (Z)
-N, --newer-or-longersend file if source newer or longer (Z)
-o, --16-bit-crcuse 16 bit CRC instead of 32 bit CRC (Z)
-O, --disable-timeoutsdisable timeout code, wait forever
-p, --protectprotect existing destination file (Z)
-r, --resumeresume interrupted file transfer (Z)
-R, --restrictedrestricted, more secure mode
-q, --quietquiet (no progress reports)
-s, --stop-at {HH:MM|+N}stop transmission at HH:MM or in N seconds
--tcpbuild a TCP connection to transmit files
--tcp-serveropen socket, wait for connection
-u, --unlinkunlink file after transmission
-U, --unrestrictturn off restricted mode (if allowed to)
-v, --verbosebe verbose, provide debugging information
-w, --windowsize NWindow is N bytes (Z)
-X, --xmodemuse XMODEM protocol
-y, --overwriteoverwrite existing files
-Y, --overwrite-or-skipoverwrite existing files, else skip
--ymodemuse YMODEM protocol
-Z, --zmodemuse ZMODEM protocol
【linux命令上传代码 linux命令】short options use the same arguments as the long ones
More information can be used for reference linuxprobe.com 。
linux下使用ftp怎么使用命令上传文件在 Linux 系统提示符 $ 下,使用 ftp 命令,如下所示:
$ftp a.b.c.d cr (其中:a.b.c.d 为假设的一个对方的 FTP 服务器的 IP 地址)

推荐阅读