Re: exists of file on www-server?
- Posted by Kat <gertie at PELL.NET> Apr 08, 2002
- 409 views
On 8 Apr 2002, at 16:20, rolf.schroeder at desy.de wrote: > > Hi everyone, > > I would like to check the existence of certain files on a web server by > an EU function, i.e., the function could be like: > > pageexist("http://www.given_server.net/Sub1/page.htm") . > > It should return 1 if the page exists, and 0 else. > Any recommendation or help is appreciated. Rather like looking for a file on your harddrive, try to open it, if you get a 404 notfound or 302 redirect, it's not there. Kat