deepin Linux use the ftp command to connect to upload and download

deepin linux not installed by default command-line ftp client, the ftp command prompt command in the terminal will not be found.

To install the ftp client at the command line, just execute the following command.

sudo apt-get install ftp

Can be installed using the ftp command command line connecting the ftp server, as shown below. During need to fill the ip and ftp accounts, passwords

The connection is successful using ls view files

 

download file: 

Directly in the ftp get command to download files. Note: By default, users download it to my directory is / home / su

The default download the file to a local directory in the directory where you run the ftp command, ftp commands the user can also use the lcd command to set the local directory to accept the position.

After setup is complete, and then use the get command to download to the local, the file is saved in the specified directory

 

upload files:

In ftp can order directly put upload files.

You can also use the command mput to upload multiple files

 

Close ftp:

Close the ftp command ftp session, you can use the close command , such as ftp server at login, password input error, this time to establish ftp session again, you must close out the previous session before they can. close just off the ftp session and will not exit the ftp interface

 

Exit the ftp command:

After everything is done, to exit the ftp command, you can perform any one exit, quit, bye these three commands , the role of these three commands are to end the session and exit the ftp command line.

Published 96 original articles · won praise 18 · views 50000 +

Guess you like

Origin blog.csdn.net/weixin_42694072/article/details/90724204