Ben Chuanlong Du's Blog

It is never too late to learn.

FTP on Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation in Ubuntu

wajig install ftp

FTP

  1. Most FTP severs accpets only SFTP connections, which means that you have to log into those servers using sftp instead of ftp. The tricky part is that connecting to those servers using ftp might hang without meaningful error messages. So if you encounter issues log into a FTP server using ftp, try sftp instead.

    sftp user@server [port]
    
  2. ftp transfer non-text use binary mode

Comments