darkoperator / darkoperator/Posh-SSH
Get-SFTPChildItem No Longer Listing Files in 3.2.3
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
I think this is a similar issue to #590. Calling Get-SFTPChildItem without a Path parameter is not returning any results anymore. I'm pretty sure this was working in 3.2.0 but no longer works in 3.2.3. I've only tested this on Windows:
Get-SFTPChildItem -SessionId $session.SessionId -File -Verbose
This above command results no results, but if I add a Path parameter it returns the expected results:
Get-SFTPChildItem -SessionId $session.SessionId -File -Verbose -Path *
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Windows with Get-SFTPChildItem -SessionId $session.SessionId -File -Verbose, then compare it with the working -Path * form and versions 3.2.0 and 3.2.3. Done means omitting Path lists the expected files, matching the explicit wildcard behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100