LFTP is sophisticated ftp/http client, file transfer program supporting a number of network protocols. Like BASH, it has job control and uses readline library for input. It has bookmarks, built-in mirror, can transfer several files in parallel. It was designed with reliability in mind.
You can download this free software from http://lftp.yar.ru/get.html
tar -zxvf lftp-4.4.0.tar.gz
cd lftp-4.4.0
./configure --with-openssl --without-gnutls --with-debug
checking whether inet_aton is declared... yes
checking whether strptime is declared... yes
checking whether strtok_r is declared... (cached) yes
checking whether dn_expand is declared... yes
checking whether memmem is declared... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating trio/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
make
make check
make install
[root@test lftp-4.4.0]# updatedb
[root@test lftp-4.4.0]# which lftp
/usr/local/bin/lftp
Ensure that lftp is built with ssl by checking with the below command (libssl.so)
[root@test lftp-4.4.0]# ldd /usr/local/bin/lftp
linux-gate.so.1 => (0x0081a000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00cf9000)
libssl.so.6 => /lib/libssl.so.6 (0x04c1b000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x04ad8000)
librt.so.1 => /lib/librt.so.1 (0x00129000)
libreadline.so.5 => /usr/lib/libreadline.so.5 (0x05d81000)
libutil.so.1 => /lib/libutil.so.1 (0x009e6000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x009ec000)
libresolv.so.2 => /lib/libresolv.so.2 (0x009b4000)
libdl.so.2 => /lib/libdl.so.2 (0x00bb2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00134000)
libc.so.6 => /lib/libc.so.6 (0x00a15000)
/lib/ld-linux.so.2 (0x009f6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00bb9000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x05a4a000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x05a7a000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x009cb000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x059ac000)
libz.so.1 => /lib/libz.so.1 (0x00b9d000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x009db000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x009d6000)
libselinux.so.1 => /lib/libselinux.so.1 (0x00446000)
libsepol.so.1 => /lib/libsepol.so.1 (0x004ba000)
[root@test lftp-4.4.0]# ldd /usr/local/bin/lftp | grep libssl
libssl.so.6 => /lib/libssl.so.6 (0x04c1b000)
[root@test ~]# /usr/local/bin/lftp sftp://username@xxx.example.com(remote server name)
Password:
lftp username@xxx.example.com:~> lcd /root/
lcd ok, local cwd=/root
You can download this free software from http://lftp.yar.ru/get.html
tar -zxvf lftp-4.4.0.tar.gz
cd lftp-4.4.0
./configure --with-openssl --without-gnutls --with-debug
checking whether inet_aton is declared... yes
checking whether strptime is declared... yes
checking whether strtok_r is declared... (cached) yes
checking whether dn_expand is declared... yes
checking whether memmem is declared... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating lib/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating trio/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
make
make check
make install
[root@test lftp-4.4.0]# updatedb
[root@test lftp-4.4.0]# which lftp
/usr/local/bin/lftp
Ensure that lftp is built with ssl by checking with the below command (libssl.so)
[root@test lftp-4.4.0]# ldd /usr/local/bin/lftp
linux-gate.so.1 => (0x0081a000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00cf9000)
libssl.so.6 => /lib/libssl.so.6 (0x04c1b000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x04ad8000)
librt.so.1 => /lib/librt.so.1 (0x00129000)
libreadline.so.5 => /usr/lib/libreadline.so.5 (0x05d81000)
libutil.so.1 => /lib/libutil.so.1 (0x009e6000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x009ec000)
libresolv.so.2 => /lib/libresolv.so.2 (0x009b4000)
libdl.so.2 => /lib/libdl.so.2 (0x00bb2000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00134000)
libc.so.6 => /lib/libc.so.6 (0x00a15000)
/lib/ld-linux.so.2 (0x009f6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00bb9000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x05a4a000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x05a7a000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x009cb000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x059ac000)
libz.so.1 => /lib/libz.so.1 (0x00b9d000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x009db000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x009d6000)
libselinux.so.1 => /lib/libselinux.so.1 (0x00446000)
libsepol.so.1 => /lib/libsepol.so.1 (0x004ba000)
[root@test lftp-4.4.0]# ldd /usr/local/bin/lftp | grep libssl
libssl.so.6 => /lib/libssl.so.6 (0x04c1b000)
[root@test ~]# /usr/local/bin/lftp sftp://username@xxx.example.com(remote server name)
Password:
lftp username@xxx.example.com:~> lcd /root/
lcd ok, local cwd=/root
No comments:
Post a Comment