PSCP Transfer File From Windows to Windows OS

244 Views Asked by At

i have 2 Server with different Segmentation Server (Windows OS) . i need to backup the file weekly with simple copy/transfer file like this :

pscp -P 22 -pw password [email protected]:backup.zip C:\FolderBackup

This script works perfectly and copy to "C:\FolderBackup", but how can I specify the "backup.zip" in other drive folder like this "D:\BackupData\backup.zip"?

0

There are 0 best solutions below