You are here: Re: checking for a file « HTML « IT news, forums, messages
Re: checking for a file

Posted by Neredbojias on 05/17/06 03:07

To further the education of mankind, Eric <nospam@email.com> 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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация