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

Service: writeFile

The Write data in a remote file for a particular SFTP Client.

Input Parameters:

Name Type Description
sftpClient: Object SFTP Client
absoluteFilePath: String The absolute path of the file or folder
bytes: byte Array Contents of file in Bytes
data: String Contents of file in a string

Output Parameter:

Name Type Description
status: String Status of the Operation
error: String Error Message