hello antoine,
is there a way to let scripts control if a file exists?
i'ld like to obtain something like:
link:='http://www.****.html';
if link exists then getpage(link);
or,better
if file_exists(link)=result then getpage(link);
does exists a function like this (or is it possible to create it), please?
thank you
"if file exists" option...
There is nothing in the program currently, but there are two cases:
- does the domain exist -> to test that it takes some time, as usually it is after a timeout that it is considered as non-existing
- does the page exist -> if the site sends a "404/Not Found" error, I could detect it.
But it would be for the next version anyway.
Currently what happens when you try to get a page that do not exist?
- does the domain exist -> to test that it takes some time, as usually it is after a timeout that it is considered as non-existing
- does the page exist -> if the site sends a "404/Not Found" error, I could detect it.
But it would be for the next version anyway.
Currently what happens when you try to get a page that do not exist?