Re: Checking if a file exist
- From: "Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx>
- Date: 25 Oct 2005 14:01:44 GMT
wrote on 25 okt 2005 in comp.lang.javascript:
> Hey All,
Not my name,
> I'm a bit new at this,and i tryed seraching google about it but i
> didn't quite got a solution.
> I'm writing an HTML page that needs to check if another html file exist
> (in the same folder) and if not,to call to a C file and create that
> html file.
> I tryed to do that with JavaScript but i understood there is no such
> option.
> Can u advice?
This is not sms, please use only usenet abbreviations.
> and once i know that file doesn't exist,can i call to a C file from a
> simple html page?
> Thanks a lot!
[We didn't do anything yet, so why the thanks.]
If you are talking javascript in a browser on a page from a server on
internet, the js has no security clearance for files on the client.
Javascript on a local .hta file or in wscript is a different matter.
The same goes for serverside javascrpt [on an ASP platform]
Which of the 4 is your Q about?
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
.
- Follow-Ups:
- Re: Checking if a file exist
- From: Cr1spy
- Re: Checking if a file exist
- References:
- Checking if a file exist
- From: batels
- Checking if a file exist
- Prev by Date: Adventures in Javascript - Virtual Post-it notes.
- Next by Date: Re: copy protect
- Previous by thread: Checking if a file exist
- Next by thread: Re: Checking if a file exist
- Index(es):
Relevant Pages
|