A
Adrian
hi
I'm writing, or trying to! an ASP page that checks if a file exists and if
so transfers it. the use sends a query string with the name of the file, I
have this bit working, but need to check if the path and or file exists in
vb6 I would write
if dir(strFileName & "\test.zip")) <>"" then
msgbox("OK 1 ")
else
msgbox("OK 2 ")
end if
In VBS for ASP?
if dir(Server.MapPath(strFileName & "\test.zip")) <>"" then
response.write ("OK 1 ")
else
response.write ("OK 2 ")
end if
I'm writing, or trying to! an ASP page that checks if a file exists and if
so transfers it. the use sends a query string with the name of the file, I
have this bit working, but need to check if the path and or file exists in
vb6 I would write
if dir(strFileName & "\test.zip")) <>"" then
msgbox("OK 1 ")
else
msgbox("OK 2 ")
end if
In VBS for ASP?
if dir(Server.MapPath(strFileName & "\test.zip")) <>"" then
response.write ("OK 1 ")
else
response.write ("OK 2 ")
end if