On Thu, 10 Mar 2011, Alexander V. Lukyanov wrote:
On Wed, Mar 09, 2011 at 05:32:33AM -0500, Justin Piszcz wrote:
Somewhere 1-2 versions ago, the method for changing into different directories
changed, such that I often get this now, it will reconnect and show me the
right directory, but what happened? It used to work good. No changes
except the client, currently on lftp-4.2.0.
lftp> ls
---- using URL path `REQ/sort'
---- last sent CWD path is `~/REQ/sort'
---> CWD REQ
<--- 250- Matched some-other-directory
<--- 250 CWD command successful.
---> CWD sort
<--- 550 sort: No such file or directory. ---- Persist and retry
Probably you have to add %2F to the URL, like this:
ftp://ftp.example.com/%2FREQ/sort
Thanks, this fixed it.
Second issue:
I now have to add:
ftp:ssl-allow/ip yes
And then set the ssl:verify-certificate no in the .lftprc file.
For each new host I wish to use SSL with?
If you do not want MITM protection, use
set ssl:verify-certificate no
ftp:ssl-allow is on by default.
Sorry, I meant to say in the past ssl-allow was on and I had verify-cert set
to no and recently (with newer versions of LFTP) it was not using SSL by
default for some reason, it seemed as if it wanted the SSL enabled or disabled
on a per-host basis. Will cleanout/review my .lftprc/hopefully just some
random bad config option.
Justin.