Docs Menu
API Developer Guide / middleware / pub / client / sftp / commands / close

Service: close

This service will be used to close all SFTP sessions.

Input Parameters:

Name Type Description
Session: Document Session document containing all session objects
sshClient: Object SSH client object
sftpClient: Object SFTP client object
session: Object Common session object
remoteFileInputStream: Object file input stream object
remoteFileReader: Object file read object
remoteFileOutputStream: Object file output stream object
remoteFileWriter: Object file write object

Output Parameter:

Name Type Description
status: String Status of the operation
error: String Error message if occurred