Error Message :
Error - unable to connect to remote host - '.com:'
When using the File Transfer jobs Applications Manager (AM) includes by default: FTP, FTP_JAVA and SFTP_JAVA, there is no option to change port numbers. Instead the defaults are used as follows:
- FTP_JAVA - port 21
- SFTP_JAVA - port 22
AM's FTP, FTP_JAVA, and SFTP_JAVA Jobs are legacy jobs with limited functionality. For the latest full featured FTP jobs, use the RA FTP Agent to execute FTP jobs. Investigation
- Update an SFTP server to require a port other than port 22 (i.e 22222).
- Create and run an SFTP_JAVA job in AM to connect to the updated server.
- Job fails and errors similar to these are seen in the SFTP_JAVA job log.
Invoking JOBID 1502971, module - AW_SFTP_ORGCHART, alias name - AW_SFTP_ORGCHART Resources
2017-01-09 12:09:29 Parameters:
2017-01-09 12:09:29 Remote UserId = [email protected]
2017-01-09 12:09:29 Remote Host = fcosftp.cohosted.com:22222
2017-01-09 12:09:29 FTP Command = PUT
2017-01-09 12:09:29 Local Path = F:\HR\ORGCHARTS\
2017-01-09 12:09:29 Local File/Pattern = ORGCHARTS_RPT.txt
2017-01-09 12:09:29 Remote Path = /PROD/inbound/data
2017-01-09 12:09:29 Remote File/Pattern = ORGCHARTS_REPT.txt
2017-01-09 12:09:29 File Type = BINARY
2017-01-09 12:09:29 Compression = N
2017-01-09 12:09:29 Minimum Run Time = 0
2017-01-09 12:09:29 Maximum Run Time = 0
2017-01-09 12:09:29 remoteUserid = userid
2017-01-09 12:09:29 known_hosts file = C:\Users\amsvc/.ssh/known_hosts
2017-01-09 12:09:29 Error - unable to connect to remote host - 'fcosftp.cohosted.com:22222'