Re: Re: scandir and ftp wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:
It appears you are trying to scan/list a remote site's directory;
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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux