You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v3.2.4, Get-SFTPChildItem no longer has -Name parameter and seems like we are supposed to specify file name in -Parh parameter.
However, if you run, for example:
Write-Error: Error listing items in /home/vlad/.xteve/backup/xteve_auto_backup_20241012_0405.zip: Exception calling "ListDirectory"
with "1" argument(s): "No such file"
Such file definitely exist and in v3.2.3, if you pass file name with -Name parameter, it returns info about that file.
Note: If you add asterisk in the end of the file name like that:
Thanks for your reply.
Understood, it works as intended.
Maybe we could have -Name parameter back to be able to to get info about specific file, so we dont have to use:
In v3.2.4, Get-SFTPChildItem no longer has -Name parameter and seems like we are supposed to specify file name in -Parh parameter.
However, if you run, for example:
It will respond with:
Such file definitely exist and in v3.2.3, if you pass file name with -Name parameter, it returns info about that file.
Note: If you add asterisk in the end of the file name like that:
everything will work, but it's inconvenient.
The text was updated successfully, but these errors were encountered: