We upgraded a month ago to 5.1.8, and it seemed to have fixed the problem.
. 2021-09-21 10:05:08.574 --------------------------------------------------------------------------
. 2021-09-21 10:05:08.590 WinSCP Version 5.1.8 (Build 3799) (OS 5.2.3790 Service Pack 2 - Microsoft Windows Server 2003)
. 2021-09-21 10:05:08.606 Configuration: D:\Data\Path\Path\Settings.ini
. 2021-09-21 10:05:08.606 Local account: DOMAIN\Account
. 2021-09-21 10:05:08.606 Working directory: D:\WIN32app\CTMAG
. 2021-09-21 10:05:08.606 Process ID: 4844
. 2021-09-21 10:05:08.606 Command-line: "D:\win32app\WinSCP3\WinSCP.exe" /console=518 /consoleinstance=_7724_379 "SESSION_NAME" "/ini=D:\Data\Path\Path\Settings.ini" "/command" "LCD \\W2K8\Path\Path\Path\Report\" "LPWD" "CD REMOTE_PATH:/././POLLABLE" "PWD" "DIR" "BINARY" "GET *" "EXIT" "/Log=D:\Data\Path\Logs\!s_!y-!m-!d.log" "/Loglevel=1"
. 2021-09-21 10:05:08.606 Time zone: Current: GMT-4, Standard: GMT-5, DST: GMT-4, DST Start: 3/14/2021, DST End: 11/7/2021
. 2021-09-21 10:05:08.606 Login time: Tuesday, September 21, 2021 10:05:08 AM
. 2021-09-21 10:05:08.606 --------------------------------------------------------------------------
. 2021-09-21 10:05:08.606 Session name: SESSION_NAME(Stored session)
. 2021-09-21 10:05:08.606 Host name: remote_hostname (Port: 22)
. 2021-09-21 10:05:08.606 User name: USER_NAME: (Password: Yes, Key file: No)
. 2021-09-21 10:05:08.606 Tunnel: No
. 2021-09-21 10:05:08.606 Transfer Protocol: SFTP
. 2021-09-21 10:05:08.606 Ping type: N, Ping interval: 30 sec; Timeout: 120 sec
. 2021-09-21 10:05:08.606 Proxy: SOCKS5
. 2021-09-21 10:05:08.606 HostName: proxy_url (Port: 1080); Username: ; Passwd: No
. 2021-09-21 10:05:08.606 Send buffer: 262144
. 2021-09-21 10:05:08.606 SSH protocol version: 2; Compression: No
. 2021-09-21 10:05:08.606 Bypass authentication: No
. 2021-09-21 10:05:08.606 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: No; GSSAPI: No
. 2021-09-21 10:05:08.606 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2021-09-21 10:05:08.606 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2021-09-21 10:05:08.606 Simple channel: Yes
. 2021-09-21 10:05:08.606 Return code variable: Autodetect; Lookup user groups: A
. 2021-09-21 10:05:08.606 Shell: default
. 2021-09-21 10:05:08.606 EOL: 0, UTF: 2
. 2021-09-21 10:05:08.606 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2021-09-21 10:05:08.606 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2021-09-21 10:05:08.606 Local directory: default, Remote directory: /USER_NAME:/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE, Update: Yes, Cache: Yes
. 2021-09-21 10:05:08.606 Cache directory changes: Yes, Permanent: Yes
. 2021-09-21 10:05:08.606 DST mode: 1; Timezone offset: 0h 0m
. 2021-09-21 10:05:08.606 --------------------------------------------------------------------------
. 2021-09-21 10:05:08.606 Looking up host "remote_hostname "
. 2021-09-21 10:05:08.652 Connecting to proxy_ip port 1080
. 2021-09-21 10:05:09.012 Server version: SSH-2.0-GXSSSHD_Comments
. 2021-09-21 10:05:09.012 Using SSH protocol version 2
. 2021-09-21 10:05:09.012 We claim version: SSH-2.0-WinSCP_release_5.1.8
. 2021-09-21 10:05:09.074 Doing Diffie-Hellman group exchange
. 2021-09-21 10:05:09.277 Doing Diffie-Hellman key exchange with hash SHA-1
. 2021-09-21 10:05:09.559 Verifying host key rsa2 keyvalue
. 2021-09-21 10:05:09.574 Host key matches cached key
. 2021-09-21 10:05:09.574 Host key fingerprint is:
. 2021-09-21 10:05:09.574 ssh-rsa 1024 value
. 2021-09-21 10:05:09.574 Initialised AES-256 SDCTR client->server encryption
. 2021-09-21 10:05:09.574 Initialised HMAC-SHA1 client->server MAC algorithm
. 2021-09-21 10:05:09.574 Initialised AES-256 SDCTR server->client encryption
. 2021-09-21 10:05:09.574 Initialised HMAC-SHA1 server->client MAC algorithm
! 2021-09-21 10:05:09.793 Using username "USER_NAME:".
. 2021-09-21 10:05:09.856 Prompt (7, SSH password, , &Password: )
. 2021-09-21 10:05:09.856 Using stored password.
. 2021-09-21 10:05:09.856 Sent password
. 2021-09-21 10:05:09.934 Access granted
. 2021-09-21 10:05:10.012 Opened channel for session
. 2021-09-21 10:05:10.215 Started a shell/command
. 2021-09-21 10:05:10.215 --------------------------------------------------------------------------
. 2021-09-21 10:05:10.215 Using SFTP protocol.
. 2021-09-21 10:05:10.324 Doing startup conversation with host.
> 2021-09-21 10:05:10.324 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2021-09-21 10:05:10.387 Type: SSH_FXP_VERSION, Size: 21, Number: -1
. 2021-09-21 10:05:10.387 SFTP version 4 negotiated.
. 2021-09-21 10:05:10.387 Server requests EOL sequence "\n".
. 2021-09-21 10:05:10.387 We will use UTF-8 strings when appropriate
. 2021-09-21 10:05:10.387 Changing directory to "/USER_NAME:/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE".
. 2021-09-21 10:05:10.387 Getting real path for '/USER_NAME:/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE'
> 2021-09-21 10:05:10.387 Type: SSH_FXP_REALPATH, Size: 2375, Number: 16
< 2021-09-21 10:05:10.481 Type: SSH_FXP_NAME, Size: 2404, Number: 16
. 2021-09-21 10:05:10.481 Real path is '/USER_NAME:/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE'
. 2021-09-21 10:05:10.481 Trying to open directory "/USER_NAME:/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE/XXXXXX-SEND:/././POLLABLE".
> 2021-09-21 10:05:10.481 Type: SSH_FXP_LSTAT, Size: 2379, Number: 263
< 2021-09-21 10:05:10.574 Type: SSH_FXP_ATTRS, Size: 30, Number: 263. 2021-09-21 10:05:10.574 Getting current directory name.
. 2021-09-21 10:05:10.574 Startup conversation with host finished.. 2021-09-21 10:05:10.574 Startup conversation with host finished.
< 2021-09-21 10:05:10.574 Script: Active session: [1] SESSION_NAME
. 2021-09-21 10:05:10.574 Script: Failed
> 2021-09-21 10:05:10.590 Script: LCD \\SrvW2K8\Path\Path\Path\Path\
The code runs on a Windows 2003, and I've tried installing the latest version, and WinSCP is crashing so badly that I can't kill it's process, and I had to reboot the server because the exe and com were locked.
5.1.8 is the only one that works, and I can't hardly test every other iterations.