Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use FTP to transfer files between Linux and Windows XP

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "how to use FTP to transfer files between Linux and Windows XP". In the daily operation, I believe that many people have doubts about how to use FTP to transfer files between Linux and Windows XP. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "how to use FTP between Linux and Windows XP". Next, please follow the editor to study!

1. Connect to the ftp server

Format: ftp hostname or ip-address

A) enter the ip or hostname of the machine where the server is set up under the linux command line: ftp 10.60.48.195

B) the server asks you for your user name and password, enter them separately, and wait for the authentication to be approved. Note: when entering the password, the input is not displayed in the terminal, and it is always blank, so as long as you are sure that the input is correct, press enter.

2. Download the file

Download files usually use the two commands get and mget, get for a single file, mget is multiple files.

A) get

Format: the file name to be downloaded by get is saved to the local file name

To get d:\ pic\ logo.jpg on the server, enter the following command

Get / pic/logo.jpg face.jpg

In this way, the file "logo.jpg" on the server is downloaded to the local machine and renamed "face.jpg".

B) mget

Format: batch files to be downloaded by mget

To download all the files under d:\ pic\ on the server, enter the following command

Cd / pic

Mget *. *

Note: all downloaded files are saved to the current directory of the linux host. For example, if you run the ftp command under / root/moqingwen, all the files are downloaded to / root/moqingwen.

3. Upload files

Put and mput commands are usually used to upload files. Put is used for a single file, and mput is for multiple files.

A) put

Format: files saved on the server for local files to be uploaded by put

If you want to upload the local logo.jpg to the server e:\ pic and rename it to face.jpg, then

Put logo.jpg / pic/face.jpg

B) mput

Format: local batch files to be uploaded by mput

To upload all jpg files under the local current directory to the server e:\ pic, then

Cd / rose

Mput * .jpg

Note: all uploaded files come from the current directory of the linux host. For example, if you run the ftp command under / root/moqingwen, only files under / root/moqingwen will be uploaded to the server.

4. Disconnect

Bye: disconnects from the server.

Format: bye

Although it is very simple, it is very practical.

At this point, the study on "how to use FTP to transfer files between Linux and Windows XP" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report