WinSCP uploaded file renamed to ^
WinSCP uploaded file gets renamed to ^.
If i upload the same file manually it works, same thing with command line.
When i create a batch script with WinSCP and i iuse it, then the file gets renamed, but why?
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\Temp\WinSCP log\WinSCP.log" /ini=nul ^
/command ^
"open ftpes://xxx/" ^
"put -latest "x:\*" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%
If i upload the same file manually it works, same thing with command line.
When i create a batch script with WinSCP and i iuse it, then the file gets renamed, but why?
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\Temp\WinSCP log\WinSCP.log" /ini=nul ^
/command ^
"open ftpes://xxx/" ^
"put -latest "x:\*" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%