Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6166027
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:16:10+00:00 2026-05-23T22:16:10+00:00

Is it possible to retrieve a directory listing of a remote file-system using Node.js.

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:16:10+00:00Added an answer on May 23, 2026 at 10:16 pm

    Sure. You could find an ftp client for node, then if your server has an ftp server going you can just interact with it.

    The following is how you might go about getting real filesystem access to a remote server

    If you have root access to the remote machine you are trying to interact with, yes it should be possible. Otherwise, no.

    I am not super familiar with all of this, but you will need to do something along the lines of:

    1. Configure a Network File System server (something like this) on your remote machine.
    2. Set up an NFS client on your local machine where node is being run and mount the network file system.
    3. Then i think, you should be able to use the node filesystem library to browse the network file system mounted locally as you would with the normal file system.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I retrieve the current working directory of cmd.exe? This seems possible. For
How can I retrieve the full directory tree using SPL , possibly using RecursiveDirectoryIterator
is it possible to retrieve by using connection.getschema() the description item from a sql
Is it possible to retrieve random rows from table X where flags==0? Using MySql
I've recently known about a gps.conf file in the /system/etc/ directory. Seems that tweaking
When using FileReference.download() to retrieve a file from a server, I'd like to give
Using Flex 4 / Air 2.0.3 Is it possible to get the active directory
Is it possible to retrieve items from a Python dictionary in the order that
Is it possible to retrieve variable set in onreadystatechange function from outside the function?
Is it possible to retrieve the underlying hostname/port from a new TcpClient? TcpListener listener

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.