esProc offers file-processing functions that handle file-related computations.
List the file name(s) satisfying a wildcard path |
|
Ø f.date() |
Return the time and date of a file last modified |
Check if a file exists |
|
Write a sequence/record sequence/table sequence into a file |
|
Ø f.name() |
Return a file’s path relative to the main directory |
Read the contents of a file and return them as a table sequence |
|
Read the property value from the property file |
|
Ø f.read() |
Read contents of a file and return them as strings |
Ø f.size() |
Return the length of a file |
Write a string or a string sequence into a file |
|
Ø file() |
Open a file with the specified name |
Split up a full path to get the file name and extension |
|
Copy, move, delete or rename a file across partitions |