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 / 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 |