On Thu, 7 Oct 1999, Leston Drake wrote:

> How do you check to see if a remote file exists? 
> For example, how would you know if the file
> "http://www.someplace.com/mystack.mc" 
> is really there?
> 
> I've tried something like 
> if there is a URL "http://www.someplace.com/mystack.mc"
> 
> but that seems to always returns false. So I'm sure I'm doing it wrong.

HTTP doesn't have an "exists" feature, so the only thing you can do is
try to download the file and look to see if what you got instead was a
404 error.
  Regards,
    Scott

> TIA
> -Leston
> 
> ------------------------------
> Leston Drake
> LetterPress Software, Inc.
> http://www.lpsoftware.com
> ------------------------------
> 
> 

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

Reply via email to