The problem is quite simple: I want to know the contents of a directory using FTP. I've tried to:
fopen("http://user:password@host/home/user",r");
and reading it, but it didn't work.. any other ideas?
... and then I answered my own question:
http://www.php.net/manual/en/ref.ftp.php
is the place I should visit. sigh.