Doubt in automating a script
Hello everyone
I want to make this batch work
When trying this
And when I do it manually, line per line, it works and I got the
So, is there a way to make it work by just executing the
I've been looking for info like this in the forum with no success.
Thanks in advance and best regards!
I want to make this batch work
@echo off "C:\Program Files (x86)\WinSCP\WinSCP.com" ^ ftp://USER:PASSWORD@IP cd / lcd C:\Users\SESA739062\Desktop\logs get log exit
.bat
, it remains after logging and getting the cursor winscp>
.
And when I do it manually, line per line, it works and I got the
log
folder copied on the destination.
So, is there a way to make it work by just executing the
.bat
?
I've been looking for info like this in the forum with no success.
Thanks in advance and best regards!