FileOps

Functions

FileOps.$changeworkingdir() FileOps.$converthfspathtoposixpath() FileOps.$convertposixpathtohfspath() FileOps.$copyfile()
FileOps.$createdir() FileOps.$deletefile() FileOps.$doesfileexist() FileOps.$filelist()
FileOps.$getfileinfo() FileOps.$getfilename() FileOps.$getlasterror() FileOps.$getunixpermissions()
FileOps.$getworkingdir() FileOps.$movefile() FileOps.$parentdir() FileOps.$putfilename()
FileOps.$readentirefile() Obsolete* FileOps.$rename() FileOps.$selectdirectory() FileOps.$setfileinfo()
FileOps.$setunixpermissions() FileOps.$splitpathname() FileOps.$writeentirefile() Obsolete*

* Use the dynamic function.

FileOps External Object

Functions (Methods)

The FileOps dynamic functions allow you to manipulate files. To use these methods, you must declare an object variable, and set its subtype to the FileOps external object. You then call the method using the syntax object.$methodname(). You can use the Interface Manager to view the methods of the object.

The FileOps external object has the following methods.

$closefile() $createfile() $createtmpfile() $getfileinfo() $getfilesize()
$getlasterror() $getposition() $isopen() $openfile() $openresources()
$readcharacter() $readfile() $setfileinfo() $setfilesize() $setposition()
$writecharacter() $writefile()