As simple as that. Dirty but does the job: script for remote backup from windows machine to linux using winscp. C:\Program Files\WinSCP>WinSCP.exe /console /script=lenovo.txt lenovo.txt consists: # Automatically answer all prompts negatively not to stall # the script on errors option batch on # Disable overwrite confirmations that conflict with the previous option confirm off # Connect using a password # open user:password@example.com # Connect open leming:password@192.168.2.109 # Change remote directory cd /home/leming/lenovo # Force binary mode transfer option transfer binary # upload my Desktop directory to remote folder put C:\"Documents and Settings"\leming\Desktop\ /home/leming/lenovo/ # Disconnect close # Exit WinSCP exit