Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

test existence of a file on different server using asp??

Status
Not open for further replies.

dnk

Technical User
Mar 23, 2001
15
0
0
US
is there a way to check for the existence of a file on a remote server? sort of like fso FileExists, but for which you'd specify a full url to a file on another machine?

thanks!
 
tricky, you'd have to use an HTTP Component that returns whether a file exists or not. But even that might not work because some web servers return 404, so you'd have to parse and see if the returned page contains 404.

for HTTP components try Mabry or Software Artisans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top