View previous topic :: View next topic |
Author |
Message |
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Sun Oct 27, 2002 6:17 pm Post subject: need ftp client that reconnects |
|
|
Hi,
I have tried to download a list of files from an ftp-server, but got this strange problem. After finishing each file the connection times out.
Therefore I would like an ftp client that automaticly reconnects. I have tried yafc (which don't reconnect despite any setting), ncftp (that I cannot find out where to set max concurrent connections), and lftp (which I cannot even get to do an "ls"). I connect using
Code: | lftp -u username,password server.com |
then I do an ls and it states connecting all the time.
I badly need help to set up a list of files for download, must not use passive transfer, must set up only one concurrent connection,and must reconnect to server after each file times out. |
|
Back to top |
|
|
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Sun Oct 27, 2002 9:21 pm Post subject: lftp how-to |
|
|
Strangely enough I found out:
Code: |
bash2.05a$ lftp -u user,password server.com
lftp:> set net:connection-limit 1
lftp:> set ftp:passive-mode off
lftp:> qeue get filename.txt
lftp:> queu get filename2.txt
.....snip.....
lftp:> jobs #prints out the queue and what is currently under transfer
|
also a great command is:
Code: | lftp:> help "command" |
yup. lftpd is great. if you quit when queue in transfer lftp will also bring itself to background continously downloading. |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Oct 28, 2002 12:57 am Post subject: |
|
|
wget
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
|