In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Connect to the ftp server
Format: ftp [hostname | ip-address]
A) enter under the linux command line:
Ftp 192.168.1.1
B) the server asks for your user name and password, enter the user name and the corresponding password respectively, and wait for the authentication to pass.
two。 Download a file
Get and mget commands are usually used to download files.
A) get
Format: get [remote-file] [local-file]
Transfer files from the remote host to the local host.
To get / usr/your/1.htm on a remote server,
Ftp > get / usr/your/1.htm 1.htm (enter)
B) mget
Format: mget [remote-files]
Receive a batch of files from the remote host to the local host.
To get all the files under / usr/your/ on the server, then
Ftp > cd / usr/your/
Ftp > mget *. * (enter)
At this point, there will be a prompt for each file downloaded. If you want to remove the prompt, execute it before the mget *. * command: prompt off
Note: the files are downloaded to the current directory of the linux host. For example, for ftp commands run under / usr/my, the files are downloaded to / usr/my.
3. Upload files
A) put
Format: put local-file [remote-file]
Transfer a local file to the remote host.
If you want to transfer the local 1.htm to the remote host / usr/your and rename it to 2.htm
Ftp > put 1.htm / usr/your/2.htm (enter)
B) mput
Format: mput local-files
Transfer a batch of files from the local host to the remote host.
If you want to upload all html files under the local current directory to the server / usr/your/
Ftp > cd / usr/your (enter)
Ftp > mput * .htm (enter)
Note: all the uploaded files come from the current directory of the host. For example, for a ftp command run under / usr/my, only the file linux under / usr/my will be uploaded to the server / usr/your.
4. Disconnect
Bye: disconnects from the server.
Ftp > bye (enter)
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.