Forum Discussion

towardsQuality's avatar
towardsQuality
Occasional Contributor
2 days ago
Solved

SFTP

I see a FTP step has been added to RAPI, but my server is setup with SFTP. Has anyone figured out how to SFTP a file to a server in a RAPI test step?

I tried using the FTP step to move a file to my SFTP server and as expected, received back:

Tue Jun 11 14:06:12 EDT 2024: ERROR: Unable to establish an FTP connection.

   org.apache.commons.net.MalformedServerReplyException: Could not parse response code.

Thx.

  • One can use jsch library for the same. Please check some samples here