In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "introduction to mput Grammar under Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "introduction to mput Grammar under Linux".
Mput
After logging in to the ftp server using lftp, you can upload the file to the server using the put directive. Mput instructions can use wildcards, while put instructions cannot.
1. Grammar
Mput [- c] [- d] [- a] [- E] [- O base] files
2. List of options
Option
Description
-d
Wear a directory with the same name as the file and store the file
-c
If it fails, continue to get
-E
After getting it, delete the source file
-a
Use ascii mode
-O
Specify the directory where the output files are stored
3. Examples
Upload files
[root@localhost weijie] # lftp 192.168.1.8 / / Log into the server
Lftp 192.168.1.8 ~ > cd pub/ switch the working directory
Lftp 192.168.1.8:/pub > mput * .c / / upload all c files
Mput: Access failed: 553 Could not create file. (3.c)
155 bytes transferred
Transfer of 1 of 4 files failed
Lftp 192.168.1.8:/pub > ls / / View the content to upload successfully
-rwxrwxrwx 1 0 2375494044 Aug 14 06:38 1.zip
-rw- 1 14 500 Oct 02 01:52 11.c
-rw-r--r-- 1 000 Oct 02 01:19 11c
-rw-r--r-- 1 000 Oct 02 01:19 22c
-rw- 1 14 50 65 Oct 02 01:48 3.c
-rw- 1 14 50 52 Oct 02 01:52 4.c
-rw- 1 14 50 38 Oct 02 01:52 5.c
Drwxr-xr-x 2 0 0 4096 Oct 02 01:12 testftp
At this point, I believe you have a deeper understanding of "introduction to mput Grammar under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.