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

> 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.

--
   Alexander.

Reply via email to