[File_Exists] returns True if the file or directory exists. Accepts one parameter, the name of the file or directory to be inspected.
The file tags are protected by four different permissions. The user must have permission to work in the parent directory.
NOTE: This method is included for backwards compatibility and is functionally equivalent to [file(#path)->exists]
File_Exists('string')
Use the [File_Exists] method. The following example inspects a file named myfile.txt from the root of the Web serving folder.
Code
File_Exists('/myfile.txt')
Result
true
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments