I am trying to download a from FTP server from Unix command prompt but getting "Connection closed by remote host" exception.
Same exception I am getting while trying from Window command prompt as well but using WinScp able to download file without any issue.
Not able get that is the issue. We want to schedule file download task using crontab .
Can anyone give me some idea to investigate the root cause.
Note - connecting FTP server using user and password
Please see below the steps that I am following. I dont know where to check FTP log while executing FTP command in window command prompt.
There might be some firewall is blocking but wondering I am able to do the same using Winscp from same system.