Is it possible to retrieve a directory listing of a remote file-system using Node.js. I know how to do it locally using readdir(...) or readdirSync(...) but can I use those methods to return a list of remote files especially from a http or ftp server?
EDIT: I want to do this in webOS so I'm limited to the supported API's it seems. I may have to do some real round-a-bout method like have a script that creates a file that contains a list of files in the folder and just accessing that. So I guess that brings up a second question could I fire a remote script from a local script?