FileWrite

Writes the contents of a string or binary data to a file

Method Signature

FileWrite(file=[string], data=[any], charset=[string], createPath=[boolean])

Arguments

ArgumentTypeRequiredDescriptionDefault

file

string

true

The string path of the file - either root relative or absolute

data

any

true

The string or binary byte array of the file content

charset

string

false

The charset encoding ( ignored for binary data )

utf-8

createPath

boolean

false

false

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC