If you need to communicate from your Ubuntu server to an FTP server that requires passive mode, there is a problem: your firewall likely blocks communication. Using an FTP client manually, you can probably connect with the server, but not list or transfer files!
The reasons for this are straightforward, your system is operating exactly as it [...]
See also: Securing an Ubuntu Server
UFW community documentation: https://help.ubuntu.com/community/UFW
UFW server documentation: https://help.ubuntu.com/10.04/serverguide/C/firewall.html
UFW page: https://wiki.ubuntu.com/UncomplicatedFirewall
Implementing a basic firewall on your Ubuntu server is simple.
UFW (Uncomplicated Firewall) is a simple configurator for Netfilter, the packet filtering system that is built into the Linux kernel. This will then filter IP packets that arrive at the server by port number. [...]
UPDATE: This port is obsolete, see: Passive Mode (PASV) FTP client on an Ubuntu server
share [...]