Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-17-2015, 12:09 PM
|
#1
|
LQ Newbie
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21
Rep:
|
lftp mget
Everyone:
Hi,
I'm using lftp Version 4.4.8 on a CentOS 7.1 machine.
The mget command does not work, just hangs.
I'm trying: mget * or mget *.*
Other commands work: put, dir, get, help. But not mget.
Anyone have any ideas? Troubleshooting tips?
Thanks,
Julien
|
|
|
07-17-2015, 06:53 PM
|
#2
|
Slackware Contributor
Registered: May 2015
Distribution: Slackware
Posts: 1,911
|
Please paste the full lftp session with the commands you are running.
|
|
|
07-18-2015, 12:39 AM
|
#3
|
LQ Addict
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316
|
Have you tried other ftp clients? Other machines?
Do you have access to the ftp server? If so, any errors in the logs?
|
|
|
07-20-2015, 09:20 AM
|
#4
|
LQ Newbie
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21
Original Poster
Rep:
|
Please paste the full lftp session with the commands you are running.
I am running it in a script, it worked on the old server, does not work on this server:
This is the script:
lftp -d -e "set ftp:ssl-force true; \
set ftps:initial-prot; \
set ftp:ssl-protect-data true; \
debug -o /home/julien/cronjobs/edi/incoming/errfile
connect xxx.xxx.xxx.xxx; \
user username password; \
set ftp:acct ACCT; \
dir; \
pwd; \
help; \
mget *.* ; \
exit"
It gets all the way to the mget, just hangs up there. I can type in the commands one by one. Same thing, it hangs up on mget.
|
|
|
07-20-2015, 09:26 AM
|
#5
|
LQ Newbie
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21
Original Poster
Rep:
|
>> Have you tried other ftp clients? Other machines?
>> Do you have access to the ftp server? If so, any errors in the logs?
It worked on my previous machine for years, it still does.
Old machine which does work:
Slackware 13.37
lftp 4.2.2
New machine which does NOT work:
CentOS 7.1
lftp 4.4.8
I would try a different ftp client if I knew which one to use. Back when I set this up I used lftp because it was the only ftp client that supported ssl (at least I think that's why I used it)
|
|
|
07-22-2015, 09:19 AM
|
#6
|
LQ Newbie
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21
Original Poster
Rep:
|
Everyone,
I downloaded and installed a newer version of lftp, 4.6.3a. I got the rpm from the lftp website.
And... mget works in this version.
|
|
|
All times are GMT -5. The time now is 03:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|