Anton's Digital Garden

Home

❯

PowerShell

❯

File system operations

❯

Mirror directory to SFTP

Mirror directory to SFTP

Mar 22, 20251 min read

Connect to a SFTP remote

  • Connect via SFTP - Use WinSCP module to connect via SFTP
Sync-WinSCPPath -LocalPath $srcDir -RemotePath $destDir -Mode Remote -Mirror

Sources:

  • GitHub - tomohulk/WinSCP: WinSCP PowerShell Wrapper Module

Related:

Tags: File system operations - Use paths, get meta data, link, download, and encrypt files and folders


Backlinks

  • File system operations

Created with Quartz v4.5.0 © 2025

  • GitHub
  • RSS