Nu ved jeg ikke lige om WebClient kan bruges i ASP.Net men ellers ville jeg gøre sådan her:
public function FileExists(byval filename as string) as boolean
try
dim wc as new Net.WebClient()
dim s as io.stream = wc.OpenRead(filename)
s.close()
catch ex as exception
return false
end try
return true
end function