Command line for moving files to another folder (ver. 5.19.2 on Windows OS)
Hello!
I am a new user of WinSCP. And now I need help for moving files. Here is my batch-file now:
I want to move (not only copy!) files from
I am a new user of WinSCP. And now I need help for moving files. Here is my batch-file now:
"C:\Program Files\WinSCP\WinSCP.com" ^ /log="C:\WinKboUtsending\WinScpLog\WinSCP.log" /ini=nul ^ /command ^ "open sftp://USERNAME:Hb.592-XXXXX@ADRESS/ -hostkey=""ssh-ed25519 256 HT7IB76+WWRiFuCwsl0HznfdI9kfGkk16HQtMY1ndoY=""" ^ "get -delete /out/*.xml C:\WinKboUtsending\Import\" set WINSCP_RESULT=%ERRORLEVEL% if %WINSCP_RESULT% equ 0 ( echo Success ) else ( echo Error ) exit /b %WINSCP_RESULT%
C:\WinKboUtsending\Import\
and to
C:\WinKboUtsending\Import\ANOTHER FOLDER