When setting up the remote connection with a RA.FTP job fails, you may need to troubleshoot/trace the connection.
This KB explains who you can troubleshoot SSL,TLS,SSH,FTP and SFTP connections from within the agent by using tracing.
How can a connection of the RA.FTP agent be troubleshot?