with gui work with script not o_O

Advertisement

faystf
Joined:
Posts:
2

with gui work with script not o_O

hi guys , i use winscp for connect to remote sftp.. and work great , after , i use a generate session url code , and copy a batch
@echo off

"C:\_GESTIONALE_NEW\TOOLS\WinSCPPortable\App\winscp\WinSCP.com" ^
 /log="c:\_GESTIONALE_NEW\WEB-SITE\eBay\FTP\log\WinSCP.log" /ini=nul ^
  /command ^
    "open ftpes://MYUSER:MYPASS@MYDOMAIN/ -certificate=""55:66:66:77:77:77:55:77:77:55:YY:NN:77:77:77:OO:II:88:00:00""" ^
    "ls" ^
    "exit"

set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
  echo Success
) else (
  echo Error
)

exit /b %WINSCP_RESULT%
i try to run but return me
connection failed
timeout detect
error

some one can help me?? thank

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum