Docs Menu
- Introduction to Syncloop
- Quick Start Syncloop
-
API Developer Guide
-
middleware
-
pub
- adapter
- authorization
- client
- collection
- date
- docList
- file
- graphQL
- io
- json
- jwt
- math
- platform
- security
- server
- service
- specs
- sql
- string
- bytesToHexString
- bytesToString
- compare
- compareStrings
- concat
- decodeBase64
- decodeHTML
- encodeBase64
- encodeHTML
- equals
- equalsIgnoreCase
- escapeSQL
- fromXML
- htmlDecode
- htmlEncode
- indexOf
- isAlphanumeric
- isBlank
- isDate
- isEmpty
- isNumber
- length
- lookupDict
- maskString
- messageDigest
- messageFormat
- NullOrWhiteSpc
- objectToString
- padLeft
- replace
- rightPad
- stringConcat
- stringIndexOf
- stringToBytes
- subString
- TextArrayToTextString
- TextListCollector
- tokenize
- toLower
- toString
- toUpper
- trim
- urlDecode
- tenant
- util
- xml
-
pub
-
middleware
- User Guide
- FAQs
- Java Docs
- Blogs
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 |