Category: FTP

lftp a sophisticated ftp client - advanced options

lftp1

This is the final part of this series and we'll learn how to connect to a ftp site when we are behind a proxy or firewall, scheduling tasks with at command and queuing jobs with queue command.

lftp a sophisticated ftp client - directories handling

lftp: ftp client

In this part of this series we will learn how to deal with directories operations: create, download, upload and mirroring.

lftp a sophisticated ftp client - file handling

lftp: ftp client

In the first part of this series we learned what lftp is and how to execute some basic ftp operations as connecting/login/exploring an ftp site; in this part we will learn how to deal with file operations: download, upload and change permissions.

lftp a sophisticated ftp client - exploring the site

lftp: ftp client

lftp is a sophisticated ftp client that implements the following features:

- Handles different protocols: ftp, ftps, sftp, http, hftp, fish and bittorrent (https and ftps protocols will be available only if lftp was compiled with GNU TLS or OpenSSL libraries) ...

lftp - Fatal error: Certificate verification: Not trusted

lftp: ftp clientAfter accessing your ftp site of your hosting provider you get the following error: Fatal error: Certificate verification: Not trusted you can fix it by running the following command in the current section.

lftp behind a proxy

a href="https://www.librebyte.net/wp-content/uploads/2015/08/lftp1.png">lftp1 If you use lftp as ftp client and you want to connect to an ftp site, but a (Squid) proxy that is blocking the access then you can solve it by adding these options in

lftp: show hidden directories and files

Some ftp servers do not display by default hidden directories and files therefore lftp does not take care about them in certain operations, for example when trying to delete a directory that contains hidden files lftp throws the following error message: operation failed: 550 cannot delete directory: directory not empty (rm: Access failed: 550 Can't remove directory) To change this behavior.

Passive connections in ProFTPD

proftpd Passive ftp connections are very common when set behind a proxy or firewall. In a passive ftp connection, the client sends the PASV command to the server and is the server who selects a port at random and sends it to the client. We must configure directive PassivePorts in ProFTPD.

Ftp behind a proxy or firewall

If you can't connect to ftp site due by ISP provider/Network restriction then it is recommended that you use an ftp client that implements the hftp Protocol