Updated lftp for CentOS 5.5

By jbayer - Last updated: Thursday, February 10, 2011 - Save & Share - Leave a Comment

(Following taken from: http://tutorials.papamike.ca/pub/lftp.html):

Every sysadmin should have a decent command line client for transferring files (beyond scp of course). The lftp program written by Alexander Lukyanov can handle seven file access methods: FTP, FTPS, HTTP, HTTPS, HFTP, FISH, and SFTP. The openssl library is required during compile-time in order for FTPS and HTTPS to function (the FreeBSD port attempts to include this library by default).

HFTP is FTP-over-HTTP-proxy protocol. It can be used in a web proxy scenario. FISH is a protocol that works over an SSH connection to a Unix account. SFTP is a protocol implemented in SSH2 as the sftp subsystem.

On CentOS 5.5, the default version of lftp is quite old, currently is version 3.7.11, released on 2009-03-20, while the current version is 4.1.3, released 2011-01-17.  I had a few problems with lftp segfaulting, so I’ve created two binary RPMs to replace it, one 32 bit and one 64 bit.

To install, just remove the old version of lftp and install the new one using RPM:

rpm -e lftp

for 32 bit:

  lftp-r.1.3-1.i386.rpm (1.3 KiB, 627 hits)

rpm -ivh lftp-4.1.3-1.i386.rpm

for 64 bit:

  lftp-4.1.3-1.x86_64.rpm (1.3 KiB, 741 hits)

rpm -ivh lftp-4.1.3-1.x86_64.rpm

If you want to roll-your-own, you can get the source at:


Posted in Administration, Open Source • Tags: Top Of Page

Write a comment