windows下命令列終端使用rz上傳檔案參數詳解

來源:互聯網
上載者:User

標籤:覆蓋   rename   end   dos   exec   控制字元   bytes   方式   art   

rz命令:

  1.   (X) = option applies to XMODEM only  
  2.   (Y) = option applies to YMODEM only  
  3.   (Z) = option applies to ZMODEM only  
  4. -+, --append                append to existing files  
  5. -a, --ascii                 ASCII transfer (change CR/LF to LF)  
  6. -b, --binary                binary transfer  
  7. -B, --bufsize N             buffer N bytes (N==auto: buffer whole file)  
  8. -c, --with-crc              Use 16 bit CRC (X)  
  9. -C, --allow-remote-commands allow execution of remote commands (Z)  
  10. -D, --null                  write all received data to /dev/null  
  11.     --delay-startup N       sleep N seconds before doing anything  
  12. -e, --escape                Escape control characters (Z)  
  13. -E, --rename                rename any files already existing  
  14.     --errors N              generate CRC error every N bytes (debugging)  
  15. -h, --help                  Help, print this usage message  
  16. -m, --min-bps N             stop transmission if BPS below N  
  17. -M, --min-bps-time N          for at least N seconds (default: 120)  
  18. -O, --disable-timeouts      disable timeout code, wait forever for data  
  19.     --o-sync                open output file(s) in synchronous write mode  
  20. -p, --protect               protect existing files  
  21. -q, --quiet                 quiet, no progress reports  
  22. -r, --resume                try to resume interrupted file transfer (Z)  
  23. -R, --restricted            restricted, more secure mode  
  24. -s, --stop-at {HH:MM|+N}    stop transmission at HH:MM or in N seconds  
  25. -S, --timesync              request remote time (twice: set local time)  
  26.     --syslog[=off]          turn syslog on or off, if possible  
  27. -t, --timeout N             set timeout to N tenths of a second  
  28. -u, --keep-uppercase        keep upper case filenames  
  29. -U, --unrestrict            disable restricted mode (if allowed to)  
  30. -v, --verbose               be verbose, provide debugging information  
  31. -w, --windowsize N          Window is N bytes (Z)  
  32. -X  --xmodem                use XMODEM protocol  
  33. -y, --overwrite             Yes, clobber existing file if any  
  34.     --ymodem                use YMODEM protocol  
  35. -Z, --zmodem                use ZMODEM protocol  

參數解析:

-a 表示使用ascii碼格式傳輸檔案,如果是Dos格式的檔案,會轉換為unix格式
-b –binary 用binary的方式上傳下載,不解釋字元為ascii
-e –escape 強制escape 所有控制字元,比如Ctrl+x,DEL等
-r 使用 Crash recovery mode. 即檔案傳輸中斷會重傳
-y 表示檔案已存在的時候會覆蓋
-O (大寫O)採用同步寫入模式,以處理從緩衝寫到磁碟時中斷丟失的情況
--o-sync  同上

windows下命令列終端使用rz上傳檔案參數詳解

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.