-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Description
It would be very nice to be able to supply a wildcard pattern to Get-SFTPChildItem. Currently, if you were to run
Get-SFTPChildItem -SessionId 0 -Path /pattern*You would get the error:
Path /pattern* doesn't exist on the target host.
This wildcard matching is possible in the default sftp program that comes with Redhat:
sftp user@host:/pattern*and in the PowerShell cmdlet Get-ChildItem:
Get-ChildItem -Path C:\pattern*Based on the discrepancy between the functionality of Get-ChildItem and Get-SFTPChildItem, this may be considered a bug.
Metadata
Metadata
Assignees
Labels
No labels