EasyManua.ls Logo

Panasonic HMWIN - Debugging of JavaScript

Panasonic HMWIN
440 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameter Description
strPath Path string
Remove file
boolean fs.unlink(strPath)
Removes the given file at strPath from filesystem if exists. Returns true on success and false if it fails.
Parameter Description
strPath Path string
File status
object fs.stat(strPath)
Retrieves information on the file/folder present at the specified path.
Parameter Description
strPath File/folder path string
var fileStats = var fs.stat(strPath)
fileStats.isFile True if path is a file
fileStats.isDir True if path is a folder
fileStats.size Size in bytes of that file
fileStats.atime Date object representing the last read access time
fileStats.mtime Date object representing the last write access time
fileStats.ctime Date object representing the creation time
fileStats.perm File permissions
If path is invalid both isFile and isDir fields return false.
File permission table
0x4000 File is readable by the owner of the file
0x2000 File is writable by the owner of the file
0x1000 File is executable by the owner of the file
0x0400 File is readable by the user
0x0200 File is writable by the user
372
HMWIN Studio |User Manual|v206 (2017-06-30) |EN|© 2014-2017 Panasonic Electric Works Europe AG
Handling read/write files

Table of Contents