Docs Menu
API Developer Guide / middleware / pub / file / bytesToFile

Service: bytesToFile

This service will write bytes into a file on the server location and return a size in bytes of the produced file Input Parameter.

Input Parameter:

Name Type Description
filePathWithName: String Path & file name of file on the server machine
bytes: Byte array Content of the file
append: Boolean Append content in the file

Output Parameter:

Name Type Description
Size: String Size of the file in bytes