Re: Re: scandir and ftp wrapper
| From: | Al | Date: | Thu, 12 Apr 2007 18:36:00 +0000 |
| Subject: | Re: Re: scandir and ftp wrapper | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252775@lists.php.net to get a copy of this message | ||
How about the simple opendir() then readdir()?
Or, put a php file in the remote site you can query for the list.
Or, if the remote has a cgi-bin put a script in it you can query remotely.
Look at cURL.
John Ewing wrote:
why? Most sites will not >>allow you to do this. I'm connecting to a remote site via the ftp wrapper. So I can't just use the file path. I have a script which runs on one webserver to get information off another server via ftp. This is the only way the files I need can be retrieved. J.It appears you are trying to scan/list a remote site's directory;