How to Change lftp Data Transfer Mode
Sometimes after lftp connects to FTP, executing other commands is extremely slow, or it gets stuck on “Making data connection” forever. The reason lies in active vs. passive mode — some hosts can only be connected to using either active or passive mode.
Solution: Add `set ftp:passive-mode off` to the configuration file to make…