JeroenDortmans
Technical User
How can I check if a file on the user's PC exists (so not on the server side, but the client side). I did try the following script:
<%
Set fs=CreateObject("Scripting.FileSystemObject"
If (fs.FileExists("c:\COCO_recognize_file.txt"
)=true Then
Response.Write("File c:\COCO_recognize_file.txt exists."
Else
Response.Write("File c:\COCO_recognize_file.txt does not exist."
End If
set fs=nothing
%>
But this doesn't work. Who can help me?
<%
Set fs=CreateObject("Scripting.FileSystemObject"
If (fs.FileExists("c:\COCO_recognize_file.txt"
Response.Write("File c:\COCO_recognize_file.txt exists."
Else
Response.Write("File c:\COCO_recognize_file.txt does not exist."
End If
set fs=nothing
%>
But this doesn't work. Who can help me?