Bacth File Can't Run
(admin note: Sorry, I've deleted your post by mistake. Though I had a copy of the batch file, so I'm restoring at least that)
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="F:\Backup\WinSCP.log" /ini=nul ^
/command ^
"open sftp://fiberone:Fiberone20%%215@172.17.30.12/ -hostkey=""ssh-rsa 3072 nV1bIT+VXb0DGmUe7BY4Yr75D2A4Fh+WyjszJjw4Yz4=""" ^
"synchronize local F:\Backup /FiberOne/Computer Vision/Shapefile/Landuse/BAS" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="F:\Backup\WinSCP.log" /ini=nul ^
/command ^
"open sftp://fiberone:Fiberone20%%215@172.17.30.12/ -hostkey=""ssh-rsa 3072 nV1bIT+VXb0DGmUe7BY4Yr75D2A4Fh+WyjszJjw4Yz4=""" ^
"synchronize local F:\Backup /FiberOne/Computer Vision/Shapefile/Landuse/BAS" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%