Hello,
I find the solution. I delete the option batch abort and it's good. :D
Sorry for the inconvenience.
I find the solution. I delete the option batch abort and it's good. :D
Sorry for the inconvenience.
@echo off
cd winscp
call server-configuration
winscp.com /script=upload_alert.txt /parameter %CMS_INTERNET_USER% %CMS_INTERNET_PWD% %CMS_INTERNET_SERVEUR% %CMS_INTERNET_HOSTKEY%
pause
option echo off
option batch abort
option confirm on
option transfer ascii
open sftp://%1%:%2%@%3%:22 -hostkey="%4%"
lcd ..
cd Bureau/transfert
put G:\dossier\*.odt
pause*