File Transfer Protocol:
File Transfer is the main form of data exchange. To ensure correct identification and transmission of files during file transfer, we need to establish a unified transfer protocol between the two computers. This Protocol includes File identification, transfer start and end times, and error judgment and correction.
The transmission protocols under securecrt are ASCII, XMODEM, ymodem, and zmodem4.
(1) ASCII: This is the fastest transmission protocol, but it can only transmit text files.
(2) XMODEM: this old transmission protocol is slow, but the CRC error detection method is used, the transmission accuracy can reach 99.6%.
(3) ymodem: This is an improved version of XMODEM. It uses a 1024-bit segment for transmission, which is faster than XMODEM.
(4) zmodem: zmodem adopts streaming transmission mode, which is fast in transmission. It also has functions such as automatic change of segment size, resumable data transfer, and fast error detection. This is currently the most popular file transfer protocol.
In addition to the above protocols, there are also protocols such as imodem, jmodem, bimodem, Kermit, and lynx. Since most vendors do not support these protocols, I will skip them here.
Securecrt can use the zmodem protocol in Linux to quickly transfer files. Set the upload and download Directories Before transmission:
Options-> session options-> terminal-> under XMODEM/zmodem
Then you can use x/y/zmodem to transmit data.
Zmodem uses two commands to transmit data:
SZ: Send the selected file to the Local Machine
RZ: running this command will pop up a file selection window, from the local selection file upload to the server (receive)
To ensure normal transmission, we need to install this command first, otherwise the following error will occur:
-Bash: RZ: Command not found
Here, we directly use Oracle's public yum for installation:
[Root @ bxys-db-01 ~] # Cd/etc/yum. Repos. d/
[Root @ bxys-db-01 yum. Repos. d] # wget http://public-yum.oracle.com/public-yum-ol6.repo
[Root @ bxys-db-01 software] # Yum search Rz
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Base: mirrors.tuna.tsinghua.edu.cn
* Extras: mirrors.tuna.tsinghua.edu.cn
* Updates: mirrors.tuna.tsinghua.edu.cn
========================================================== = N/S matched: rz = ===
Lrzsz. x86_64: The lrz and lsz modemcommunications programs
Name and summary matches only, use "search all" foreverything.
[Root @ bxys-db-01 software] # Yum install lrzsz
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Base: mirrors.tuna.tsinghua.edu.cn
* Extras: mirrors.tuna.tsinghua.edu.cn
* Updates: mirrors.tuna.tsinghua.edu.cn
Setting up install process
Resolving Dependencies
--> Running transaction check
---> Package lrzsz. x86_640: 0.12.20-27.1.el6 will be installed
--> Finished dependency resolution
Dependencies resolved
========================================================== ========================================================== ================================
Package arch version repository size
========================================================== ========================================================== ================================
Installing:
Lrzsz x86_64 0.12.20-27.1.el6 base 71 K
Transaction Summary
========================================================== ========================================================== ================================
Install 1 package (s)
Total download size: 71 K
Installed size: 159 K
Is this OK [Y/n]: Y
Downloading packages:
Lrzsz-0.12.20-27.1.el6.x86_64.rpm | 71 KB
Running rpm_check_debug
Running transaction Test
Transaction test succeeded
Running transaction
Installing: lrzsz-0.12.20-27.1.el6.x86_64 1/1
Installed:
Lrzsz. x86_64. 12.20-27.1.el6
Complete!
Then you can use zmodem normally.
Bytes -------------------------------------------------------------------------------------------------------
All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!
Skype: tianlesoftware
QQ: tianlesoftware@gmail.com
Email: tianlesoftware@gmail.com
Blog: http://www.tianlesoftware.com
WEAVER: http://weibo.com/tianlesoftware
Twitter: http://twitter.com/tianlesoftware
Facebook: http://www.facebook.com/tianlesoftware
LinkedIn: http://cn.linkedin.com/in/tianlesoftware
------- Add a group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, reject the application ----
Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)
Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823
Dba6 group: 158654907 dba7 group: 172855474 DBA group: 104207940