Re: I have this issue: Root path can be specified for WebDAV and S3 protocols only
As the error message says, remove the path from the URL:
powershell.exe -File KeepLocalUpToDate.ps1 -sessionURL "sftp://username;fingerprint=ssh-rsa-pYxCX6hXnuthj7T9hL5ySuJyeYfUkjwlOPVK1RNY_0I@lfts.domain.com/redactesting/GPbackups/" -remotePath "/redactesting/GPBackups/" -localPath "C:\Users\Echegafa\Documents\GPBackups\"