-
Notifications
You must be signed in to change notification settings - Fork 167
Install lftp on OSX yosemite
Thomas edited this page Nov 20, 2016
·
11 revisions
wordmove requires lftp. (In order to work over FTP connections)
lftp
has a lot of dependencies and is very hard to install in OSX Yosemite.
There are several installation guides on the Internet, but many do not work in all OSX environments.
I suggest this (tested and working):
- Install Xcode from : https://developer.apple.com/xcode/downloads/
- Go to terminal
- Install homebrew :
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Apply homebrew doctor :
brew doctor
- Install lftp :
brew install lftp
If brew does not find the lftp formula, use
brew install homebrew/boneyard/lftp
instead
That's all folks!!!
Sometimes, lftp installation will fail with the following error: Fatal error: Certificate verification: subjectAltName does not match
In this case, I suggest this:
- Go to terminal
- Create a lftp path :
mkdir ~/.lftp
- Create a configuration file for lftp :
nano ~/.lftp/rc
- If server's certificate is not signed by a known Certificate Authority, you can disable
lftp
check by addingset ssl:verify-certificate no
to your~/.lftprc
or~/.lftp/rc
- If host name used to connect to the server does not corresponds to the host name in its certificate, you can disable
lftp
check by addingset ssl:check-hostname no
to your~/.lftprc
or~/.lftp/rc
- If server's certificate is not signed by a known Certificate Authority, you can disable
- Save ( ^o e ^x )
- Exit terminal
If you want to force unsafe connection (without TLS) add these lines to your ~/.lftp/rc
file:
set ftp:ssl-force false
set ftp:ssl-protect-list false
set ftp:ssl-allow false
=========
More lftp
configuration flags here.