The exit code is not returning in the bat command of WinSCP version 6.1.1
Hello,
Below is my script for connecting and sending files. Currently i m using 5.15.3 and whenever I run I get Exit code and Max round trip. In the newer version which I am trying to upgrade i.e., to 6.1.1 the command executes successfully but does not return the exit code nor the maximum round trip. Is there anything I am missing to enable somewhere? This is critical for my processing to work as it is working in 5.15.3
Code:
Output:
Below is my script for connecting and sending files. Currently i m using 5.15.3 and whenever I run I get Exit code and Max round trip. In the newer version which I am trying to upgrade i.e., to 6.1.1 the command executes successfully but does not return the exit code nor the maximum round trip. Is there anything I am missing to enable somewhere? This is critical for my processing to work as it is working in 5.15.3
Code:
echo open "sftp:eft_dilip:<Password>@<Site_Name>">\\shared_path\testing\&$RUNID#.ftp echo option confirm off >>\\shared_path\testing\\&$RUNID#.ftp echo option transfer binary >>\\shared_path\testing\\&$RUNID#.ftp echo ls >>\\shared_path\testing\\&$RUNID#.ftp ECHO put -delete "\\shared_path\testing\\*.pgp" >>\\shared_path\testing\&$RUNID#.ftp ECHO exit>>\\shared_path\testing\&$RUNID#.ftp winscp.com /script=\\shared_path\testing\&$RUNID#.ftp
Searching for host... Connecting to host... Authenticating... Using username "eft_dilip". Authenticating with pre-entered password. Authenticated. Starting the session... Session started. Active session: [1] eft_dilip@eft.se2.com confirm off transfer binary drwxrw-rw- 1 user group 0 May 24 12:59:20 2023 backup -rw-rw-rw- 1 user group 2278 Apr 21 14:29:35 2023 log.txt drwxrw-rw- 1 user group 0 May 24 12:59:20 2023 moveitem drwxrw-rw- 1 user group 0 May 12 11:50:19 2023 recording_file D--------- 0 0 .. No file matching '*.pgp' found.