Still I have problems downloading with PureFTPd and lftp

2011-06-02 Thread Juan Simón
PureFTPd 1.0.32
lftp 4.2.3

lftp pauses for several minutes in the middle of downloading or between
downloads:

 [1] mirror folder1/
  \mirror BDMV
   \mirror STREAM
\transfer 8.m2ts
`8.m2ts', se obtuvieron 58705920 de 78274560 (75%)
\chunk 0-19568640
`8.m2ts' en 0 (0%) [Waiting for data connection...]

In server log there is nothing abnormal.

The rc file:

debug;
set cache:enable no;
set ftp:passive-mode yes;
#set ftp:prefer-epsv no;
set ftp:sync-mode off;
set mirror:set-permissions no;
set mirror:use-pget-n 4;
set mirror:no-empty-dirs yes;
#set net:connection-limit 20;
set net:max-retries 60;
set net:timeout 14m;
#set net:reconnect-interval-base 10;
#set net:reconnect-interval-multiplier 1.2;
#set net:reconnect-interval-max 30;
#set net:persist-retries 60;
set pget:save-status 3s;
set pget:default-n 4;
set xfer:disk-full-fatal yes;
set xfer:log yes;
set color:use-color yes;
set cmd:move-background no;
set cmd:save-cwd-history no;
set cmd:save-rl-history no;

I think isn't normal so many problems to download files from a FTP server.
I don't know where the problem is but I don't get any help on this list
despite my many posts providing information and asking for help.


lftp doesn't connect in passive mode by default

2011-06-02 Thread Juan Simón
lftp 4.2.3

In my rc file I have specified:

*set ftp:passive-mode yes;*
debug;
set cache:enable no;
#set ftp:prefer-epsv no;
set ftp:sync-mode off;
set mirror:set-permissions no;
set mirror:use-pget-n 4;
set mirror:no-empty-dirs yes;
#set net:connection-limit 20;
set net:max-retries 60;
set net:timeout 14m;
#set net:reconnect-interval-base 10;
#set net:reconnect-interval-multiplier 1.2;
#set net:reconnect-interval-max 30;
#set net:persist-retries 60;
set pget:save-status 3s;
set pget:default-n 4;
set xfer:disk-full-fatal yes;
set xfer:log yes;
set color:use-color yes;
set cmd:move-background no;
set cmd:save-cwd-history no;
set cmd:save-rl-history no;

But in lftp output:

--- USER user
--- 200 OK, UTF-8 enabled
--- 200  MLST OPTS
type;size;sizd;modify;UNIX.mode;UNIX.uid;UNIX.gid;unique;
--- 331 User user OK. Password required
--- PASS
 CWD path to be sent is `/BD/folder1/BDMV/STREAM'
--- CWD /BD/folder1/BDMV/STREAM
--- 230 OK. Current directory is /
--- 250 OK. Current directory is /BD/folder1/BDMV/STREAM
--- TYPE I
--- *PORT 192,168,1,2,133,128*
--- RETR 00011.m2ts
--- 200 TYPE is now 8-bit binary
--- *500 I won't open a connection to 192.168.1.2 (only to xx.xxx.xx.xxx)*
 *Connecting passive mode*
--- ABOR
 Closing aborted data socket
 Closing control socket
 Connecting to kemservi port 21
--- FEAT

Why lftp doesn't activate at first the passive mode and it waits the 500
error?


It shows Receiving data but it isn't true.

2011-06-02 Thread Juan Simón
lftp 4.2.3

 jobs -v
 [1] mirror folder1/
  \mirror BDMV
   \mirror STREAM
\transfer 00012.m2ts
`00012.m2ts', se obtuvieron 158415084 de 207316992 (76%)
\chunk 0-51829248
`00012.m2ts' en 2927340 (1%) [Receiving data]

It shows Receiving data but it isn't downloading anything for several
minutes. In server log there is nothing abnormal.


Re: It shows Receiving data but it isn't true.

2011-06-02 Thread Justin Piszcz

Hi,

Have you checked for network or disk problems?
I normally see that (no matter what FTP server) when there are network 
issues.


Justin.

On Thu, 2 Jun 2011, Juan Simón wrote:


lftp 4.2.3


jobs -v

[1] mirror folder1/
 \mirror BDMV
  \mirror STREAM
   \transfer 00012.m2ts
   `00012.m2ts', se obtuvieron 158415084 de 207316992 (76%)
   \chunk 0-51829248
   `00012.m2ts' en 2927340 (1%) [Receiving data]

It shows Receiving data but it isn't downloading anything for several
minutes. In server log there is nothing abnormal.