In my intranet site I let the user enter the path of a file for documentation. But before saving it to the database I use the following statement to check whether the file really exists or not.
If objFSO.FileExists(scPath1) Then
flag = "File Exists"
Else
flag = "File does not exist"
End If
So, for testing I have PWS installed on my system and have IIS4.0 on the main server. The problem here is that the above lines works properly on the PWS but on the server it shows that the file does not exist, although I know that the file is there. What could be the problem in File System Object here.
Thanks.
If objFSO.FileExists(scPath1) Then
flag = "File Exists"
Else
flag = "File does not exist"
End If
So, for testing I have PWS installed on my system and have IIS4.0 on the main server. The problem here is that the above lines works properly on the PWS but on the server it shows that the file does not exist, although I know that the file is there. What could be the problem in File System Object here.
Thanks.