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:
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.
- FTP_JAVA - port 21
- SFTP_JAVA - port 22
- 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
2017-01-09 12:09:29 Parameters:
2017-01-09 12:09:29 Remote UserId = user@company
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'
Root Cause: Legacy AM FTP jobs use default ports. This parameter can not be overridden.
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.
Fix Status: No Fix
For the latest full featured FTP jobs, use the RA FTP Agent to execute FTP jobs withing Applications Manager.