|
|||||
|
||||||
Other Library Functions |
function |
vfsDeleteFile |
Library: File system utilities (OMVFS) legacy
Include: omvfs.xin |
define external function vfsDeleteFile value stream path or define external function vfsDeleteFile value stream filename-URL on value vfsDir dir
Argument definitions
Use vfsDeleteFile to remove an existing file from the virtual file system.
You must include the following line at the beginning of your OmniMark program:
include "omvfs.xin"
path must:
filename-URL must:
The vfsDir object dir must:
External exception VFS300 is thrown for any general OS operation failure. The text accompanying the exception will contain details on the reason for the failure.
External exception VFS111 is thrown if an URL supplied as a parameter to this function contains invalid encoding. (See Internet Standards RFC 1738: Uniform Resource Locators for details on valid encoding.)
External exception VFS004 is thrown if the URL exceeds system length limits.
For complete details on relative URLs, see Internet Standards RFC 1808: Relative Uniform Resource Locators.
Deleting a file from the current directory
include "omvfs.xin" process vfsDeleteFile "myfile.txt"
Copyright © Stilo International plc, 1988-2008.