Differences

This shows you the differences between the selected revisions of the page.

2020-12-02 2020-12-02
prevent interpreting /username in the url as a switch (martin) there's nothing to highlight anyway (martin)
Line 6: Line 6:
To run the script manually or to [[guide_schedule|schedule it]], use: To run the script manually or to [[guide_schedule|schedule it]], use:
-<code batch+<code> 
-powershell.exe -File C:\path\DownloadNewFiles.ps1 -sessionUrl "sftp://user:password;fingerprint=ssh-rsa-xx-xx-xx@example.com/" -localPath "C:\local\dest" -remotePath "/remote/source" -listPath "C:\path\downloaded.txt"+powershell.exe -File C:\path\DownloadNewFiles.ps1 -sessionUrl "sftp://username:password;fingerprint=ssh-rsa-xx-xx-xx@example.com/" -localPath "C:\local\dest" -remotePath "/remote/source" -listPath "C:\path\downloaded.txt"
</code> </code>

Last modified: by martin