Had to use Portable version of V5.19 so as not to interfere with existing setup but clearly shows the issue with passwords. It looks like
option batch continue
option confirm off
option transfer binary
# logon details to drop server
open ftp://LogonId:VJ%3BP%24tXpN6SMZiEsa%24ydquMbX@xx.xxx.xxx.x:2121/ -explicitSSL -hostkey="obsfucated"
cd /IntelliUpdate
lcd D:\Transfer\IntelliUpdate
# Get files from \transfer\Intelliupdate to equivalent on IL5 server
Get *.* d:\transfer\IntelliUpdate\
exit
. 2022-02-14 10:59:36.633 --------------------------------------------------------------------------
. 2022-02-14 10:59:36.633 WinSCP Version 5.19.5 (Build 11933 2021-11-25) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Standard)
. 2022-02-14 10:59:36.633 Configuration: nul
. 2022-02-14 10:59:36.633 Log level: Normal, Logging passwords
. 2022-02-14 10:59:36.633 Local account: DOMAIN\LogonId
. 2022-02-14 10:59:36.633 Working directory: D:\Buildsoftware\WinSCPPortable V5.19\App\winscp
. 2022-02-14 10:59:36.633 Process ID: 2812
. 2022-02-14 10:59:36.633 Ancestor processes: ...
. 2022-02-14 10:59:36.633 Command-line: winscp.exe /loglevel=* /ini=nul /script=MGTEST.TXT /log=MGTESTlog.txt
. 2022-02-14 10:59:36.633 Time zone: Current: GMT+0, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 27/03/2022, DST End: 30/10/2022
. 2022-02-14 10:59:36.633 Login time: 14 February 2022 10:59:36
. 2022-02-14 10:59:36.633 --------------------------------------------------------------------------
. 2022-02-14 10:59:36.633 Script: Retrospectively logging previous script records:
> 2022-02-14 10:59:36.633 Script: option batch continue
< 2022-02-14 10:59:36.633 Script: batch continue
> 2022-02-14 10:59:36.633 Script: option confirm off
< 2022-02-14 10:59:36.633 Script: confirm off
> 2022-02-14 10:59:36.633 Script: option transfer binary
< 2022-02-14 10:59:36.633 Script: transfer binary
> 2022-02-14 10:59:36.633 Script: open ftp://LogonId:VJ%3BP%24tXpN6SMZiEsa%24ydquMbX@xx.xxx.xxx.x:2121/ -explicitSSL -hostkey="obsfucated !"
. 2022-02-14 10:59:36.633 --------------------------------------------------------------------------
. 2022-02-14 10:59:36.633 Session name: LogonId@xx.xxx.xxx.x (Ad-Hoc site)
. 2022-02-14 10:59:36.633 Host name: xx.xxx.xxx.x (Port: 2121)
. 2022-02-14 10:59:36.633 User name: LogonId (Password: VJ;P$tXpN6SMZiEsa$ydquMbX, Key file: No, Passphrase: No)
. 2022-02-14 10:59:36.633 Transfer Protocol: FTP
. 2022-02-14 10:59:36.633 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2022-02-14 10:59:36.633 Disable Nagle: No
. 2022-02-14 10:59:36.633 Proxy: None
. 2022-02-14 10:59:36.633 Send buffer: 262144
. 2022-02-14 10:59:36.633 UTF: Auto
. 2022-02-14 10:59:36.633 FTPS: Explicit SSL/TLS [Client certificate: No]
. 2022-02-14 10:59:36.633 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2022-02-14 10:59:36.633 Session reuse: Yes
. 2022-02-14 10:59:36.633 TLS/SSL versions: TLSv1.0-TLSv1.3
. 2022-02-14 10:59:36.633 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2022-02-14 10:59:36.633 Cache directory changes: Yes, Permanent: Yes
. 2022-02-14 10:59:36.633 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2022-02-14 10:59:36.633 Timezone offset: 0h 0m
. 2022-02-14 10:59:36.633 --------------------------------------------------------------------------
< 2022-02-14 10:59:36.633 Script: Connecting to xx.xxx.xxx.x:2121 ...
. 2022-02-14 10:59:36.633 Connecting to xx.xxx.xxx.x:2121 ...
. 2022-02-14 10:59:36.648 Connected with xx.xxx.xxx.x:2121, negotiating TLS connection...
< 2022-02-14 10:59:36.648 220 Microsoft FTP Service
> 2022-02-14 10:59:36.648 AUTH SSL
< 2022-02-14 10:59:36.648 234 AUTH command ok. Expecting TLS Negotiation.
. 2022-02-14 10:59:36.648 Verifying certificate for "XXX" with fingerprint "obsfucated" and 20 failures
. 2022-02-14 10:59:36.648 Certificate for "XXX" matches configured fingerprint
. 2022-02-14 10:59:36.648 Using TLSv1, cipher SSLv3: AES128-SHA, 2048 bit RSA, AES128-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1
< 2022-02-14 10:59:36.648 Script: TLS connection established. Waiting for welcome message...
. 2022-02-14 10:59:36.648 TLS connection established. Waiting for welcome message...
> 2022-02-14 10:59:36.648 USER LogonId
< 2022-02-14 10:59:36.648 331 Password required for LogonId.
> 2022-02-14 10:59:36.648 PASS VJ;P$tXpN6SMZiEsa$ydquMbX
< 2022-02-14 10:59:36.648 230 User logged in.
> 2022-02-14 10:59:36.648 SYST
. 2022-02-14 10:59:36.648 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2022-02-14 10:59:36.648 215 Windows_NT
> 2022-02-14 10:59:36.664 FEAT
< 2022-02-14 10:59:36.664 211-Extended features supported:
< 2022-02-14 10:59:36.664 LANG EN*
< 2022-02-14 10:59:36.664 UTF8
< 2022-02-14 10:59:36.664 AUTH TLS;TLS-C;SSL;TLS-P;
< 2022-02-14 10:59:36.664 PBSZ
< 2022-02-14 10:59:36.664 PROT C;P;
< 2022-02-14 10:59:36.664 CCC
< 2022-02-14 10:59:36.664 HOST
< 2022-02-14 10:59:36.664 SIZE
< 2022-02-14 10:59:36.664 MDTM
< 2022-02-14 10:59:36.664 REST STREAM
< 2022-02-14 10:59:36.664 211 END
> 2022-02-14 10:59:36.664 OPTS UTF8 ON
< 2022-02-14 10:59:36.664 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2022-02-14 10:59:36.664 PBSZ 0
< 2022-02-14 10:59:36.664 200 PBSZ command successful.
> 2022-02-14 10:59:36.664 PROT P
< 2022-02-14 10:59:36.664 200 PROT command successful.
< 2022-02-14 10:59:36.664 Script: Connected
. 2022-02-14 10:59:36.664 Connected
. 2022-02-14 10:59:36.664 --------------------------------------------------------------------------
. 2022-02-14 10:59:36.664 Using FTP protocol.
. 2022-02-14 10:59:36.664 Doing startup conversation with host.
< 2022-02-14 10:59:36.664 Script: Starting the session...
> 2022-02-14 10:59:36.664 PWD
< 2022-02-14 10:59:36.664 257 "/" is current directory.
. 2022-02-14 10:59:36.664 Getting current directory name.
. 2022-02-14 10:59:36.664 Startup conversation with host finished.
< 2022-02-14 10:59:36.664 Script: Session started.
< 2022-02-14 10:59:36.664 Script: Active session: [1] LogonId@xx.xxx.xxx.x
> 2022-02-14 10:59:36.664 Script: cd /IntelliUpdate
. 2022-02-14 10:59:36.664 Changing directory to "/IntelliUpdate".
> 2022-02-14 10:59:36.664 CWD /IntelliUpdate
< 2022-02-14 10:59:36.664 250 CWD command successful.
. 2022-02-14 10:59:36.664 Getting current directory name.
> 2022-02-14 10:59:36.664 PWD
< 2022-02-14 10:59:36.664 257 "/IntelliUpdate" is current directory.
< 2022-02-14 10:59:36.664 Script: /IntelliUpdate
> 2022-02-14 10:59:36.664 Script: lcd D:\Transfer\IntelliUpdate
< 2022-02-14 10:59:36.664 Script: D:\Transfer\IntelliUpdate
> 2022-02-14 10:59:36.664 Script: Get *.* d:\transfer\IntelliUpdate\
. 2022-02-14 10:59:36.664 Retrieving directory listing...
> 2022-02-14 10:59:36.664 TYPE A
< 2022-02-14 10:59:36.664 200 Type set to A.
> 2022-02-14 10:59:36.664 PASV
< 2022-02-14 10:59:36.664 227 Entering Passive Mode (xx,xxx,xxx,x,197,253).
> 2022-02-14 10:59:36.664 LIST -a
. 2022-02-14 10:59:36.664 Connecting to xx.xxx.xxx.x:50685 ...
< 2022-02-14 10:59:36.664 150 Opening ASCII mode data connection.
. 2022-02-14 10:59:36.664 Session ID reused
. 2022-02-14 10:59:36.664 Using TLSv1, cipher SSLv3: AES128-SHA, 2048 bit RSA, AES128-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1
. 2022-02-14 10:59:36.664 TLS connection established
. 2022-02-14 10:59:36.664 <Empty directory listing>
< 2022-02-14 10:59:36.664 226 Transfer complete.
. 2022-02-14 10:59:36.664 Directory listing successful
. 2022-02-14 10:59:36.664 Detecting timezone difference...
. 2022-02-14 10:59:36.664 Found no file to use for detecting timezone difference
. 2022-02-14 10:59:36.664 LIST with -a switch returned empty directory listing, will try pure LIST
. 2022-02-14 10:59:36.664 Retrieving directory listing...
> 2022-02-14 10:59:36.664 TYPE A
< 2022-02-14 10:59:36.664 200 Type set to A.
> 2022-02-14 10:59:36.664 PASV
< 2022-02-14 10:59:36.679 227 Entering Passive Mode (xx,xxx,xxx,x,197,251).
> 2022-02-14 10:59:36.679 LIST
. 2022-02-14 10:59:36.679 Connecting to xx.xxx.xxx.x:50683 ...
< 2022-02-14 10:59:36.679 150 Opening ASCII mode data connection.
. 2022-02-14 10:59:36.679 Session ID reused
. 2022-02-14 10:59:36.679 Using TLSv1, cipher SSLv3: AES128-SHA, 2048 bit RSA, AES128-SHA SSLv3 Kx=RSA Au=RSA Enc=AES(128) Mac=SHA1
. 2022-02-14 10:59:36.679 TLS connection established
. 2022-02-14 10:59:36.679 <Empty directory listing>
< 2022-02-14 10:59:36.679 226 Transfer complete.
. 2022-02-14 10:59:36.679 Directory listing successful
. 2022-02-14 10:59:36.679 Detecting timezone difference...
. 2022-02-14 10:59:36.679 Found no file to use for detecting timezone difference
. 2022-02-14 10:59:36.679 ..;D;0;1899-12-30T00:00:00.000Z;0;"" [0];"" [0];---------;0
< 2022-02-14 10:59:36.679 Script: No file matching '*.*' found.
. 2022-02-14 10:59:36.679 Copying 0 files/directories to local directory "d:\transfer\IntelliUpdate\" - total size: 0
. 2022-02-14 10:59:36.679 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2022-02-14 10:59:36.679 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2022-02-14 10:59:36.679 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2022-02-14 10:59:36.679 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
> 2022-02-14 10:59:36.679 Script: exit
. 2022-02-14 10:59:36.679 Script: Exit code: 0
. 2022-02-14 10:59:36.679 Disconnected from server