I no this thread is not related to php but i didn't know were to put.I want to download a file that is referenced in a hosted php file but i can't seem to find it,is there a software that lets you see all the files a domain is hosting?
Nope, they could be anywhere and the file that knows the location will be processed on the server so you can only see the output (if you are eligible). Don't steal.
Don't understand your question, in general, download a file from server need a URL, if you know that URL you will get it.