2
votes
1answer
55 views

Variable in WinSCP script

I'm asked to automate some SFTP download processes via WinSCP. I'm not familiar with WinSCP scripting. ftprun.cmd: C:\Program Files\WinSCP\winscp.com" /script=D:\testsftp\ftpscript.txt ...
1
vote
1answer
2k views

Unable to authenticate sftp password using winscp command line in Windows 2008 R2

I am following the example at http://winscp.net/eng/docs/scripting to automate the transfer of files from my PC to a sftp server however each time I include a password it fails to authenticate. I am ...
2
votes
1answer
567 views

How to echo message after WinScp synchronizes any files

I have synchronized local and remote file using WinScp and scheduled with windows task scheduler That execute the script once in a day and download the file if the remote file is new or updated, ...
1
vote
0answers
471 views

Synchronize single file with WinScp

I am trying to synchronize a single file with WinScp. But it is downloading that file every time the script runs. But I want it to download that file only when there is any update in the remote file. ...
2
votes
3answers
4k views

WinSCP putting multiple files on SFTP site

With WinSCP 5.2 I wanted to put multiple files with a file extension .pgp on an SFTP site. When I tested my original command line (see below) and it only placed the first *.pgp alphabetical file ...