How to find absolute path of a file on remote url?

Question

How do I find a file link on a remote server?

For example this is server link: www.example.com And the file I am searching for is uploaded here: www.static.example.com/dir_path/file_name.txt

I know the file name and I know it exists, but how do I find the directory path of that file?

I used php approach using realpath(filename) but it didn't get me proper results. I am trying HTML DOM Parser for now but I have reached a dead end. Can someone please point me in the right direction with some examples, if possible?


Show source
| url   | file   | path   | search   2016-12-09 05:12 0 Answers

Answers to How to find absolute path of a file on remote url? ( 0 )

Leave a reply to - How to find absolute path of a file on remote url?

◀ Go back