Running WinSCP version 5.5.0 (Build 3839) Commander interface on Windows 7. Transfer protocol is SFTP, trying to get a script to run manually.
My .bat file is:
@echo off winscp.exe /console /script=script.txt
My script.txt is in the same directory as the .bat:
option batch abort option confirm off open sftp://user:firstname.lastname@example.org get ""/Email Attachments/File_1.csv"" .\ exit
(I have wrapped the remote path in double quotes due to the space in the folder name.)
When I run the .bat file, the file is not retrieved - nor does anything show up in the log window.
I'm wondering if I've missed a step somewhere.
Thank you in advance for any help you can provide!