humy2833 / FTP-Simple

visual studio code extension
108 stars 39 forks source link

Can't connect to server with TLS 1.2 security #148

Open benoitlemay opened 6 years ago

benoitlemay commented 6 years ago

Hi, Since my host do not support TLS 1.0 anymore, i can't connect to the server.. I got the "FTP Connecting..." message from OUTPUT by nothing else.. (ftp or sftp with port 21.)

If i try with "port": 22, "type": "sftp", i got All configured authentication methods failed

If i use ssh (port 22, sftp and all working setting (before the change) .. I got download fail : /public_html/domain.xyz/filewhatever => No such file WHEN DOWNLOADING and when uploading, no message and noting append!?

Any ideas.. Everything was working well before.. ftp, and sftp..

benoitlemay commented 5 years ago

Try.. port 21, type, ftp and add "secure" :true, "secureOptions": { "rejectUnauthorized": false, "secureProtocol" :"TLSv1_2_method" }

For me it worked..