Re: checking for a file



To further the education of mankind, Eric <nospam@xxxxxxxxx> vouchsafed:

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

It could sorta be done with a timing loop and a size check, but how
appropriate this is I don't know.

--
Neredbojias
Infinity has its limits.
.



Relevant Pages

  • Re: how know if middle C heard?
    ... the past but more often use php, javascript and perl for ... Your little routine?! ...
    (rec.audio.tech)
  • Re: FAQ Topic - How can I protect a webpage in javascript?
    ... may think they want encryption but what they need is an education on ... either a clickable reference, or just perform a page replace. ... javascript code is visible, but it will not yield the hidden page without ...
    (comp.lang.javascript)
  • Re: javascript popup window and multiple parameters
    ... "win.open" routine. ... There is no Window object in Javascript, ... the popup with two extra parameters which are taken from 2 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: www.readnotify.com
    ... > JavaScript is no longer the safe malicious free programming langue that it ... But that is just like having Javascript on a web page. ... education and the case study affords you unmatched consulting experience. ... Computer Emergency Response Teams, and Digital Investigations. ...
    (Security-Basics)
  • Re: Javascript enabled?
    ... Do the PHP equivalent Routine ... Javascript doesn't run until it hits the user's browser ....so I guess ... Can you not just always do it in PHP? ... I keep the PHP routine as the default in case the user enters the site on a page where form verification is necessary before I know if I can use the JS or not. ...
    (alt.php)