Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rscarb99

WinSCP copy from downloads to local folder

I have what seems like a simple question but I am doing something wrong.
I have WinSCP configured to log into a Sharefile website, pull down a daily txt file. Once downloaded I want it automatically moved to a different folder.
I thought this would be simple, I am doing something wrong.
Any input is welcomed.

Code :
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" /log="C:\winscp.log" /command ^
"open sftp://deltalifeins/sa_automation@email.com:XXXXXXX@emailaddress.sharefileftp.com/ ^
"get /VendorUpload *.txt D:\Data" ^
"exit"