LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-17-2015, 12:09 PM   #1
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Rep: Reputation: 2
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
 
Old 07-17-2015, 06:53 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,911

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
Please paste the full lftp session with the commands you are running.
 
Old 07-18-2015, 12:39 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Have you tried other ftp clients? Other machines?
Do you have access to the ftp server? If so, any errors in the logs?
 
Old 07-20-2015, 09:20 AM   #4
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Original Poster
Rep: Reputation: 2
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.
 
Old 07-20-2015, 09:26 AM   #5
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Original Poster
Rep: Reputation: 2
>> 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)
 
Old 07-22-2015, 09:19 AM   #6
julienfmills
LQ Newbie
 
Registered: Jun 2009
Location: Pennsylvania, USA
Distribution: CentOS, Slackware
Posts: 21

Original Poster
Rep: Reputation: 2
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email after successful lftp mget or mirror chickenshit Linux - Software 1 10-03-2013 06:02 PM
LFTP , mget question sopiaz57 Linux - General 1 09-03-2004 12:09 PM
Ftp and mget phishman3579 Slackware 1 07-31-2003 11:12 AM
ftp mget Sammy2ooo Linux - Networking 2 05-06-2003 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration