bool createFile(string filePath)

Creates a file, and returns true if the file was created

Security

Trust Level Required: Full Trust

Parameters

Name Description
filePath string
The path of the new file.

Return

True on success, and false if the file already existed or an error occurred

Examples


if (KioFileIO.createFile('/home/kiosk/Documents/Test.txt'))
	KioFileIO.getFileDetails('/home/kiosk/Documents/Test.txt');

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.