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:

  1. configure network file system server (something this) on remote machine.
  2. set nfs client on local machine node being run , mount network file system.
  3. then i think, should able use node filesystem library browse network file system mounted locally normal file system.

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -