javascript - Retrieving a file list from a remote file system with Node.js -
is possible retrieve directory listing of remote file-system using node.js. know how locally using readdir(...) or readdirsync(...) can use methods return list of remote files http or ftp server?
edit: want in webos i'm limited supported api's seems. may have real round-a-bout method have script creates file contains list of files in folder , accessing that. guess brings second question fire remote script local script?
sure. find ftp client node, if server has ftp server going can interact it.
the following how might go getting real filesystem access remote server
if have root access remote machine trying interact with, yes should possible. otherwise, no.
i not super familiar of this, need along lines of:
- configure network file system server (something this) on remote machine.
- set nfs client on local machine node being run , mount network file system.
- then i think, should able use node filesystem library browse network file system mounted locally normal file system.
Comments
Post a Comment