WinSCP copy from downloads to local folder

Advertisement

rscarb99
Guest

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"

Reply with quote

Advertisement

You can post new topics in this forum