Why do I get the error "SYSTEM: 2 - The system cannot find the file specified." when using WebPagePostFile when the path to the file is correct?
This error will be reported if you have not escaped the backslash characters "\" when specifying the path to the file. This is because single backslashes enclosed in a string must be escaped as shown below.
sFile := "C:\Classes\ST-Sillk.jar";
sFile := "C:\\Classes\\ST-Sillk.jar";
For details of other characters which must be treated in this way please see the section "Escape sequences in string constants" in the online help.