Post a reply

Options
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)

Options

Topic review

martin

Re: with gui work with script not o_O

Please attach complete log files both from GUI and scripting.
faystf

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