FileExists (Dundas Upload Control 2.0)
Overview | Properties | Methods
Call this method to see if the specified file exists at the specified location.
Syntax
UploadObject.FileExists(Path As String) As Boolean
The FileExists method syntax has the following parts:
Part |
Description |
Path |
The name of the file to be checked. Use either a relative or absolute pathname, depending on the setting of the UseVirtualDir property. |
Remarks
This method returns TRUE if the file is found, otherwise FALSE is returned.
If UseVirtualDir is set to TRUE then the specified path needs to be relative. It should start with a forward slash and be followed by a valid alias, and any sub-folders need to be separated with forward slashes.
See Also: FileCopy | FileDelete | FileMove