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

Service: readFile

This service is used to read a remote file for a specific sftpClient.

Input Parameters:

Name Type Description
sftpClient: Object SFTP Client
absoluteFilePath: String Path of File or folder

Output Parameter:

Name Type Description
fileBytes: Byte Array Contents of the File in Bytes