 |
Purpose
Finds a file on the FirstClass server.
This method begins at the first file in a container and moves forward until a file that matches Pattern is found or the end of the files is reached. Each time the record pointer is moved, Pattern is re-evaluated.
Syntax
ServerFile.FindFirst (Pattern [, fcRead])
Pattern |
Any file name pattern, including the * and ? wildcards. |
fcRead |
Causes FindFirst to not load the entire file into memory. Instead, it just provides directory list data such as name. This allows FindFirst to execute quickly instead of waiting until the entire file has loaded. For example, a file would download completely before continuing without this parameter. |
Example
Dim sf as ServerFile
sf.FindFirst("*.txt", fcRead)
|  |