Post a reply

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)


Topic review


Adding to the thread, when executing, this is what I mean when it keeps on the curser
Connecting to MAGIC_IP ...

Starting the session...
Session started.
Active session: [1] epc@MAGIC_IP

I've also tried this one
synchronize remote "C:\Users\SESAXXX\Desktop\logs" "/log"

But same results

Just wondering if there's missing like an "enter character" after it logs in the app, because when running it, is like

  • Open the WinSCP
  • Successfully logs in
  • Keeps waiting for another command

Doubt in automating a script

Hello everyone
I want to make this batch work
@echo off

"C:\Program Files (x86)\WinSCP\" ^
cd /
lcd C:\Users\SESA739062\Desktop\logs
get log

When trying this .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!