Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ecuso100

Adding private key path to when synchronizing a two way delete

Hello
I would like to inquire if it is possible to add a Private Key path to the script referred to here:
Two-way synchronization with delete with SFTP/FTP server

The script that needs to run does not seem to have an area to add a path to the private key.
powershell.exe -File C:\path\SynchronizeTwoWayDelete.ps1 -sessionUrl "sftp://user:password;[email protected]/" -localPath "C:\local" -remotePath "/remote" -listPath "C:\cache\example.txt"

Is this possible?