Discussion:
lftp inquiry when .. [waiting for response]
Justin Piszcz
2012-03-02 18:24:57 UTC
Permalink
Hi,



If you have a directory with > 1,000 files with a high latency link, it can
take a long time to:



Getting files information (23%) [Waiting for response...]



Is there a way to parallelize this process or speed it up in some way?



Justin.
Alexander V. Lukyanov
2012-03-05 05:36:55 UTC
Permalink
Post by Justin Piszcz
If you have a directory with > 1,000 files with a high latency link, it can
Getting files information (23%) [Waiting for response...]
Is there a way to parallelize this process or speed it up in some way?
Sure. Use this:

set sync-mode off
--
Alexander.
Justin Piszcz
2012-03-07 21:25:55 UTC
Permalink
Hi,

Perfect!

ftp:sync-mode (bool)
if true, lftp will send one command at a time and wait for response. This
might be useful if you are using a buggy ftp server or router. When it is
off, lftp sends a pack of commands and waits for responses - it speeds up
operation when round trip time is significant. Unfortunately it does not
work with all ftp servers and some routers have troubles with it, so it is
on by default.

Thanks.

Justin.

-----Original Message-----
From: Alexander V. Lukyanov [mailto:***@netis.ru]
Sent: Monday, March 05, 2012 12:37 AM
To: Justin Piszcz
Cc: ***@uniyar.ac.ru
Subject: Re: [lftp] lftp inquiry when .. [waiting for response]
Post by Justin Piszcz
If you have a directory with > 1,000 files with a high latency link, it can
Getting files information (23%) [Waiting for response...]
Is there a way to parallelize this process or speed it up in some way?
Sure. Use this:

set sync-mode off
--
Alexander.
Loading...