Hey there,
is there an easy way, to check whether a file exists on a www server ?
It should be on a fast way.
Hope, I will find help here.
Hey there,
is there an easy way, to check whether a file exists on a www server ?
It should be on a fast way.
Hope, I will find help here.
thanks. but how can I use it as code ? I want a serial output. for expl: if the file exists, than i will get a number or code. if not, than another number as output.
What have you tried so far?
I used this code here, now it works fine:
This gives a HTTP Code back, for expl. 404 if not exists. But it also gives you the file-inside back. It works great. Thanks to @J-M-L
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.