search
Homephp教程PHP开发Implement linux and windows file transfer

Actually, this topic is a bit big. What is introduced here is only one of the file transfer between Linux and Windows, but this method is very practical, that is: ZModem protocol

The specific Linux commands are: rz and sz

But in fact they These are two very convenient tools.

rz, sz is a command line tool for ZModem file transfer between Linux/Unix and Windows. The Windows side needs to support ZModem’s telnet/ssh client. SecureCRT can be used to log in to the Unix/Linux host (telnet or ssh is acceptable)
1. rz, receive the file, SecureCRT will pop up the file selection dialog box, close the dialog box after selecting the file, and the file will be uploaded to the current directory. Here is a trick: In fact, you don’t need to type the rz command on the command line. Just drag and drop the files you want to transfer into the SecureCRT window, and SecureCRT will automatically complete the transfer.

2. Run the command sz file1 file2 to send files to windows (the saved directory can be configured). It is much more convenient than the ftp command, and the server does not need to open the FTP service.

Note: In some Linux versions, the default is not It comes with sz/rz tools, so you have to install one yourself. It’s actually very simple.

shell# yum search lrzsz
shell# yum install lrzsz-x.x.x


Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools