Integration Cloud 7.0.0 | Applications | Predefined Applications | Secure File Transfer Protocol (SFTP) | SFTP Predefined Operations | put
 
put
Transfers a file to a remote SFTP server.
Input Parameters
contentStream
java.io.InputStream Data to be transferred to the remote file.
remoteFile
String Absolute or relative path of the remote file to which the contentStream would be written based on the mode.
mode
String Optional. Specifies how the local file is to be transferred to the remote SFTP server. Set to:
*overwrite to overwrite the contents of the remote file with the contents of the contentStream. This is the default.
*append to append the entire contents of the contentStream to the remote file.
*resume to resume writing the contents of the contentStream to the remote file from the point the writing was stopped during previous SFTP sessions.
Output Parameters
returnCode
String Standard SFTP protocol return code.
returnMsg
String Text message describing the return code.