I'm trying to verify that a file exists in a virtual directory by using objFSO and the GetFile method. I have verified the file exists in the directory but for some reason I keep getting a
VB Script "File Not Found" error. Code is as follows:
Dim objFSO, objFile
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile(Server.MapPath("VirtualDirectory\" & FileID & ".jpg"))
Any help on this would be greatly appreciated.
Paul Noe
[email protected]