Error when logging in with FileZilla over FTPES (General questions)
Is there an update that fixes this or am I doing something wrong with the certificate? Normal non-FTPES works fine... Also, SFTP works, but not SFTP... Which is what I need.
Control Version 2.3.0.141, I use the COM control.
My code to generate a random new certificate and use it:
Dim cert As Certificate
Set cert = New Certificate
cert.GenerateKey
cert.CommonName = Company
cert.Country = USA
cert.Email = hidden@hidden.com
cert.FriendlyName = Acmeinc
cert.Organization = Acme
cert.Generate
Set FtpD.Certificate = cert
Status: Resolving address of localhost
Status: Connecting to [::1]:21...
Status: Connection attempt failed with ECONNREFUSED - Connection refused by server , trying next address.
Status: Connecting to 127.0.0.1:21...
Status: Connection established, waiting for welcome message...
Response: 220 SFTP Server Q version 1.03.00
Command: AUTH TLS
Response: 234 Go on, authenticate!
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER tempd_ggg
Status: TLS/SSL connection established.
Response: 331 Password required for tempd_ggg
Command: PASS ****
Response: 230 User tempd_ggg logged in
Command: PBSZ 0
Response: 200 PBSZ 0successful
Command: PROT P
Response: 200 Data connection set to: Private
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 / is current directory
Command: TYPE I
Response: 200 TYPE set to BINARY
Command: PASV
Response: 227 Entering passive mode (127,0,0,1,198,152)
Command: LIST
Response: 150 Opening ASCII mode data connection
Error: GnuTLS error -9: A TLS packet with unexpected length was received.
Status: Server did not properly shut down TLS connection
Error: Could not read from transfer socket: ECONNABORTED - Connection aborted
Response: 226 Directory send OK
Error: Failed to retrieve directory listing