rz upload file failed

Reprinted from: http://blog.csdn.net/heavendai/article/details/7549065

 

SecureCRT is used when transferring files from Windows to Linux. Generally, there is no problem with small files. When the file is too large, the uploaded file is only a few K in size. Of course, it is impossible to upload files larger than 2 G. . For large files ranging from a few hundred M to more than 1G, the following should be done.

Using rz alone will have two problems: upload interruption, upload file changes (different md5),

The solution is to use rz -be to upload, and remove the check before "Upload files as ASCII" in the pop-up dialog box.

-a, –ascii
-b, –binary Upload and download in binary mode, do not interpret characters as ascii
-e, –escape
 force escape all control characters, such as Ctrl+x, DEL, etc.

rar, gif and other files are uploaded using -b in binary mode.

If the file is relatively large and the upload is wrong, use the parameter -e

If the rz command without parameters is used to upload a large file, it is often interrupted halfway through the upload. It is likely that rz thinks that the uploaded stream contains some special control characters, causing rz to exit early.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326660686&siteId=291194637