-
Notifications
You must be signed in to change notification settings - Fork 656
Description
Please Describe The Problem To Be Solved
With the current nxc functionality, I am able to put and get individual files from an NSF share using --enum-shares, but I cannot list or download all files from a share. This is a problem because, when working in environments like Exegol containers without root or extra privileges, I am unable to mount NSF shares directly. The inability to download several files at once creates a bottleneck for efficient workflows or audits in these restricted setups.
(Optional): Suggest A Solution
It would be beneficial to add a download option to nxc that works similarly to --enum-shares, with an optional depth parameter, to allow recursive downloading of all accessible files on a share. This would help users operate in privilege-restricted environments (such as Exegol containers), enabling bulk retrieval of files from an NSF share without needing to mount it manually. Ideally, the feature should:
- Recursively download all accessible files/folders from the specified share, based on depth.
- Work within permission limitations—only downloading files the user can access.
- Optionally control the recursion depth (e.g.,
--depth=N). - Provide clear output/logs for files downloaded or skipped due to permissions.
This would streamline assessments or file operations when direct mounting is impossible or undesirable.
This issue was assisted by AI.
Thank you!