![]() |
Directory listing from remote location.
So i'm looking for a way to retrieve a directory listing from a remote location.
Is my best way to grab the contents and regexp through what i need, or am I way off? alternative ways, curl? (my knowledge of curl is 0.000001% so i don't know :)) Thanks |
Is the directory listing publicly available? Would FTP be an option? A "directory listing" is pretty vague, where is the listing and in what form is it?
|
Quote:
Sorry could have been a bit clearer in my post. :-$ *edit, please delete my error post below, :/ |
Can you give an example directory listing? Will there only be one listing that you are wanting to grab, or many? Sorry for all of the questions and what might seem unimportant details, but they will affect what methods you can use to do the work.
|
Quote:
|
Quote:
So as simple as it sounds i'm only looking to extract filenames of whats contained in a directory located on another server. Running the script on the remote server is also out of the question. I understand all the question. hopefully you are satisfied now :) |
Quote:
|
Quote:
So i'll go back to my initial post, best way to go about it? Thanks |
The directory listing itself will vary depending on the software and configuration used for that particular site (or individual directory!). If you are only wanting this done for one site/directory then we need to know that URL; otherwise we can only give you generic advice about using the DOM extension to parse a HTML document.
|
Quote:
Thanks guys |
| All times are GMT. The time now is 05:53 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0