M
Mike Mimic
Hi!
How can I find out if an URL is a directory or a file?
I think that this is possible only by connecting to the
server. And after all redirects check URL for last character.
If it is "/" than it is directory. But the problem I have is
that I do not know how can I get this redirected URL.
Is there some better way to found out if something like
http://www.somepage.com/path is file or directory?
Mike
How can I find out if an URL is a directory or a file?
I think that this is possible only by connecting to the
server. And after all redirects check URL for last character.
If it is "/" than it is directory. But the problem I have is
that I do not know how can I get this redirected URL.
Is there some better way to found out if something like
http://www.somepage.com/path is file or directory?
Mike