Re: After retrieving files from remote move files to archive folder on the remote server
PowerShell cmdlet
If you want to move remote files, use WinSCP
https://winscp.net/eng/docs/library_session_movefile
For an example, see:
A WinSCP script to download, rename, and move files
Move-Item
moves local files.
If you want to move remote files, use WinSCP
Session.MoveFile
method:
https://winscp.net/eng/docs/library_session_movefile
For an example, see:
A WinSCP script to download, rename, and move files