...
- Enter the passive command after successful FTP login
If you see a message like "Passive mode on", you're fine.
Code Block ftp> passive Passive mode on. ftp> ls 227 Entering Passive Mode (130,14,29,35,196,253). 150 Opening BINARY mode data connection for file list
- If you see something like "Passive mode off", just enter passive again (mode is toggled)
- Pass the -p flag to the ftp program
(e.g.,ftp -p ftp-private.ncbi.nlm.nih.gov
). - Use the pftp command instead of ftp
(e.g.,pftp -p ftp-private.ncbi.nlm.nih.gov
). - Edit your configuration file to make passive the default.
...