Re: How to delete x days older folder
1) Replace
https://winscp.net/eng/docs/library_session_enumerateremotefiles
2) Replace
https://winscp.net/eng/docs/library_session_removefiles
Similar topic:
https://stackoverflow.com/q/45965395/850848
Get-ChildItem
with Session.EnumerateRemoteFiles
:
https://winscp.net/eng/docs/library_session_enumerateremotefiles
2) Replace
Remove-Item
with Session.RemoveFiles
:
https://winscp.net/eng/docs/library_session_removefiles
Similar topic:
https://stackoverflow.com/q/45965395/850848