checking for a file



Is it possible to check for existence of a file from a web page using
javascript? I am trying to come up with a routine that i can call from the
rest of my javascript code that will check if a particular file exists on
disk at the server. ie bool FileExists("http://myServer.com/File.gif";);
Any ideas on how to do this?
Thanks
Eric

.



Relevant Pages

  • Re: EcmaScript: delete operator
    ... abozhilov wrote: ... how JavaScript know for existence on that property? ...
    (comp.lang.javascript)
  • Re: Using JS to find browser height in IE??
    ... When the page loads in IE a javascript error is generated stating "line ... not yet seen the opening BODY tag, and so the DOM representation of the ... The code you started from included a test for the existence of - ... and may not get correct dimensions until after the ...
    (comp.lang.javascript)
  • testing for existence of file
    ... Is it possible to check for existence of a file from a web page using ... I am trying to come up with a routine that i can call from the ... rest of my javascript code that will check if a particular file exists on ... ie bool FileExists; ...
    (comp.lang.javascript)
  • Re: EcmaScript: delete operator
    ... how JavaScript know for existence on that property? ... support in older browsers, ... have internal method who's works like `hasOwnProperty`? ...
    (comp.lang.javascript)
  • ? Feature Detection ala JavaScript
    ... In JavaScript it is possible to detect features, ... doesn't seem to work for detecting the existence of functions. ... Alec S. ...
    (microsoft.public.vc.language)