Hi All,
We couldn't really get to the depth of the issue as we were running out of time and eventually decided to deploy our certificates on the legacy's SFTP server for authentication. We switched from password based authentication to Certificate based authentication.
Thanks for all your inputs.
Regards,
Rakesh.