I have a script which runs at server as cron job to download files using ncftpget. It fails.
I tried to investigate and found that the following command does not work :
ncftpget -v -E ftp://ftp.anexample.org/d1/d2/list
It says (very similar to):
ncftp : Server said : Cannot connect to port XXXX : Connection timed out.
Since active mode did not work, I tried PASV mode with -F option and that failed straight away. So neither active nor passive mode is working for the ftp site. While for other ftp sites things are working smoothly. Please let me know what could be the reason and what could be done to resolve it.