DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-10-11 22:33:32

schoel
Member
Registered: 2010-10-11
Posts: 5

lftp behaving weirdly

Hello,

First time poster and been using fun_plug for just a week or so, so please go easy on me smile

I installed Swemart's lftp, which I downloaded from http://sara.homeunix.net/fun_plug/0.5/ but been having weird problems.
Few descriptions of the symptoms:
1. When I "cd" to a directory on the server and then "ls", I very often get the first "ls" I did in this session as answer, even if I turn off cache or do "rels".
2. When I try to use "mirror", I can see the cd command being issued to the directory I requested but when the file transfers are about to start, I get this error:
mirror: Access failed: 550 File not found
For every file in that directory. As if it finds the files (since it lists them all) but somehow doesn't find them.

I want to mirror a huge directory so I'd really like this to work! Has anyone had similar problems and/or know what my problem is?

/Schoel

Last edited by schoel (2010-10-11 22:34:02)

Offline

 

#2 2010-10-11 23:52:36

schoel
Member
Registered: 2010-10-11
Posts: 5

Re: lftp behaving weirdly

I've been using the -d to get some more output and found these errors:
1. When I cd, no CWD command seems to be sent (at least I get no debug output when I cd)
2. When I use mirror the follwing text is printed as debug output:

---> CWD /pics
<--- 250 CWD successful. "/pics" is current directory.
---> PASV
<--- 227 Entering Passive Mode (X,X,X,X,202,147)
---- Connecting data socket to (X.X.X.X) port 51859
---- Data connection established
---> LIST
<--- 150 Connection accepted
<--- 226 Transfer OK
---- Got EOF on data connection
---- Closing data socket
---> TYPE I
<--- 200 Type set to I
---> MDTM border_red.jpg
<--- 213 20100603093750
---> CWD /
<--- 250 CWD successful. "/" is current directory.
---> PROT C
<--- 534 This server requires an encrypted data connection with PROT P
---> PASV
<--- 227 Entering Passive Mode (X,X,X,X,202,162)
---- Connecting data socket to (X.X.X.X) port 51874
---- Data connection established
---> RETR border_red.jpg
<--- 550 File not found

Where X.X.X.X is a proper IP. From what I can tell, I have at least 2 problems:
1. A problem here seems to be the "CWD /" after MDTM. Why would it move to the root catalogue and then try to fetch the file?
2. Security issues. How do I get my client to use "PROT P"? I tried to set:
set ftps:initial-prot "P"
in my settings file but then it wouldn't even let me login.
Or has my client accepted PROT P when it sends the PASV command?

Offline

 

#3 2010-10-11 23:53:26

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: lftp behaving weirdly

you could try the optware version and see if it behaves in the same way.

Offline

 

#4 2010-10-13 20:57:15

schoel
Member
Registered: 2010-10-11
Posts: 5

Re: lftp behaving weirdly

Yepp, works better! Thanks!

Offline

 

#5 2010-10-13 22:37:20

schoel
Member
Registered: 2010-10-11
Posts: 5

Re: lftp behaving weirdly

Ok, I've tried it a bit now and saying that it works better is definately not a lie. However, I only get around 60kb/s dl speed on a 1mb/s link. I noticed that the lftp process takes around 90%-100% of the CPU cycles so it seems it's working for all it's worth to dl 60kb/s. Are there any tweaks around to bump up the speed a bit? I'd need a few hundred kb/s for it to be worthwhile.

Offline

 

#6 2010-10-13 23:49:27

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: lftp behaving weirdly

expensive encryption ?

transfer plaintext !?

Offline

 

#7 2010-10-14 00:34:58

schoel
Member
Registered: 2010-10-11
Posts: 5

Re: lftp behaving weirdly

Yeah, most likely the encryption. I have no control over the server tho sad

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB