Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

GwenDragon

I made some testes and I can see my issue is solved, no connection loss and freeze with the version 6.3.1 you sent me :-)

EDIT: And official released 6.3.1 works stable.
Thanks a lot.

So you can close this thread as bug is fixed.
martin

If you can abort it, then abort it. If not, then kill it.
We can continue this via emails.
GwenDragon

The download with debug version never stops, what to do? Click Abort in WinSCP's Calculate Directory Size progress popup? Terminate process by Task Manager?
martin

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
GwenDragon

Here they are.
GwenDragon

OK i try in WinSCP GUI with download much from server.
Guest

How? WinSCP.com never stops and hangs.
Should I close the command line window (cmd.exe) to terminate it?
martin

Please post Debug 2 level log.
From both versions of WinSCP.
GwenDragon

If I try to use WinSCP.exe (6.3) (GUI) and download a larger folder, it crashes while calculation of folder size is done.
I can send you a zipped crashdump.
GwenDragon

Do you need a special log level for WinSCP log?
With 6.3 the script does never end now. Looks like no reconnect happens by scripting.
What to do?

Server log showed:
Feb 14 16:44:45 srv2 proftpd[908404]: mod_tls/2.9.2: unexpected OpenSSL error, disconnecting


And ProFTPD TLS log:
2024-02-15 17:10:03,463 mod_tls/2.9.2[1151966]: added 2 certs from '/opt/psa/admin/conf/httpsd.pem' to SSL_CTX certificate chain

2024-02-15 17:10:03,474 mod_tls/2.9.2[1151966]: TLS/TLS-C requested, starting TLS handshake
2024-02-15 17:10:03,505 mod_tls/2.9.2[1151966]: client supports secure renegotiations
2024-02-15 17:10:03,506 mod_tls/2.9.2[1151966]: TLSv1.3 connection accepted, using cipher TLS_AES_256_GCM_SHA384 (256 bits)
2024-02-15 17:10:03,808 mod_tls/2.9.2[1151966]: Protection set to Private
2024-02-15 17:10:03,896 mod_tls/2.9.2[1151966]: TLSv1.3 data connection accepted, using cipher TLS_AES_256_GCM_SHA384 (256 bits, resumed session)
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unable to accept TLS connection: system call error: [104] Connection reset by peer
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unable to open data connection: TLS negotiation failed
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: panic: SSL_ERROR_SSL, line 11109:
  (1) error:140E0197:SSL routines:SSL_shutdown:shutdown while in init
2024-02-15 17:10:08,527 mod_tls/2.9.2[1151966]: unexpected OpenSSL error, disconnecting
martin

Re: [WinSCP 6.3] Sync over FTPES stops after a while

You can post the logs as a private attachment here. Thanks.
Please post logs from both 6.1 and 6.3.
GwenDragon

How to send you log and batch script, content should not be public.

Last log lines
> 2024-02-15 15:29:45.192 EPSV

< 2024-02-15 15:29:45.202 229 Entering Extended Passive Mode (|||53329|)
> 2024-02-15 15:29:45.202 MLSD
. 2024-02-15 15:29:45.202 Connecting to srv2.*****.de:53329 ...
< 2024-02-15 15:29:45.216 150 Opening ASCII mode data connection for MLSD
. 2024-02-15 15:29:45.227 Session ID reused
GwenDragon

[WinSCP 6.3] Sync over FTPES stops after a while

Sync over FTPES stops with WinSCP 6.3

Using WinSCP 6.3 with scripting in batch on Windows 11 to sync files.
After a while the connection freezes or breaks and script end with error.

Expected:
All files are synced as it happen in WinSCP 6.1.2 before

Current:
The connection stops after a while syncing files.

Additional:
OS: Windows 11 23H2
Client: WinSCP 6.3
Transfer protocol: FTPES / Port 21 / Passive

Works with FTP (no SSL/TLS) in WinSCP 6.3
Batch works in WinSCP 6.1.2 without disconnecting.

Remote FTP Server:
Debian 11.9
ProFTPd 1.3.7a
libssl OpenSSL 1.1.1w