isVDFilePresent

isVDFilePresent(fileName: String): Boolean;

The isVDFilePresent method of the WebSession class returns whether the file specified in the fileName parameter is present on the Web server side of the firewall when using the JADE HTML (Web) thin client interface via the jadehttp library or mod_jadehttp module. The method returns true if the specified file exists or it returns false if it does not exist.

This method sends a message to the jadehttp library or mod_jadehttp module to perform this action. If the specified file name does not have a directory part, the current virtual directory defined in the VirtualDirectory parameter in the jadehttp.ini file for the application is used for Microsoft Internet Information Server; the PhysicalDirectory defined indirectly through the httpd.conf file is used for Apache HTTP server.

The file specified in the fileName parameter of the isVDFilePresent method is used if the file name has a directory part.

See also the WebSession class createVirtualDirectoryFile method.