Original address: http://www.cnblogs.com/wxjnew/archive/2013/06/05/3118808.htmlSummary of how files are transferred between Windows and Linux
Of course, there are a lot of two ways to transfer files between Windows and Linux, and here's just a list of what you've encountered in your work as a note;
Method One: Installing the SSH Secure Shell client Client
Install to log in directly to Linux, if you export files from Linux you need to do so
The file automatically returns to the current directory of the Windows window;
Method 2: Use the Windows cmd Window command
Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\administrator>d:
D:\>e:
STEP1:FTP Login
E:\>ftp 128.8.28.212
Connected to 128.8.28.212. VsFTPd 2.2.2 User (128.8.28.212: (None)): Oracle 331 Please specify the password. password:230 Login successful.
Step2: Viewing a list of files in a directory
ftp> CD WANGXJ-Directory successfully changed. ftp> ls PORT command successful. Consider using PASV. Here comes the directory listing. Enfo_ods.dmp enfo_ods.log tsubject.dmp tsubject.log 226 Directory send OK. ftp: Received 56 bytes, spents 0.00Seconds 56000.00Kbytes
Step3: Download from the current directory of Linux
ftp> Get Enfo_ods.dmpPORT Command successful. Consider using PASVOpening BINARY mode data connection for Enfo_ods.dmp (325029888 bytes)226 Transfer complete.ftp: Received 325029888 bytes, spents 27.39Seconds 11866.74kbytes/sec.
ftp> get enfo_ods.log PORT command successful. Consider using PASV. Opening BINARY mode data connection for Enfo_ods.log (13704 bytes). 226 Transfer complete. ftp: Received 13704 bytes, spents 0.00Seconds 13704000.00kbytes/sec. step4: Upload files from windows to Linux ftp> put test.ktr; TEST.KTR: File not found //exit FTP or use bye ftp> quit
E:\>ftp 128.8.28.212
Connected to 128.8.28.212. VsFTPd 2.2.2 User (128.8.28.212: (None)): Oracle 331 Please specify the password. password:230 Login successful. ftp> put E:\test.ktr PORT command successful. Consider using PASV. Ok to send data. 226 Transfer complete. ftp: Send 23410 bytes, spents 0.00Seconds 23410000.00kbytes/sec. ftp>
Note:
FTP is a general-purpose protocol that does not differentiate between systems.
Know the IP of the Linux machine. Start-and-run, enter CMD and return, type the following command (> command prompt without input): > FTP Linux machine IP address > Binary > Put Windows system Local file full path/linux target on system path > Bye which, if it is a text file, can be set to binary transfer mode without binary (default text mode, text format is automatically converted). If a non-text file (such as an executable file), it is recommended that you set it to binary mode.
A summary of how files are transferred between Windows and Linux