Post a reply

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

ship

Advanced Site Settings: Network: Disable IPv6 / IPv4 Connection Attempt

Hi,

when trying to connect to a WebDAV provider (defined by DNS Name), Client Certificate (and Certificate Password) WinSCP receives both IPv6 and IPv4 Addresses from the DNS Bind Lookup. The WebDAV provider has not enabled IPv6 and also does not react to the request, hence there is a long timeout (20–30 Seconds), before WinSCP attempts the connection via IPv4.

Hence it would be useful to have a parameter in the Advanced Site Settings to disable the connection attempt via IPv6. For consistency reasons there should be a parameter to do the same for IPv4?
. 2024-03-19 13:42:24.205 Host: xxx.yyy.de
. 2024-03-19 13:42:24.205 Sending request-line and headers:
. 2024-03-19 13:42:24.205 Doing DNS lookup on xxx.yyy.de...
. 2024-03-19 13:42:24.205 req: Connecting to 20xx:6x:20xx:1::115:443
. 2024-03-19 13:42:45.244 req: Connecting to 20xx:6x:20xx:1::114:443
. 2024-03-19 13:43:06.281 req: Connecting to 6x.1xx.1xx.2xx:443
. 2024-03-19 13:43:06.291 Doing SSL negotiation.