Closed contactjavas closed 3 years ago
You should put "secure": true
in your config, it is currently either not set or false
@contactjavas let me know if @lupustom's solution solves your issue.
Hi @thompsbrian , Hi @lupustom , apologize for not giving any news for long time.
After providing "secure": true
to the config file, the output tab doesn't give me error, and here is the message:
[04-07 11:19:06] [debug] < '220 ProFTPD Server (Debian) [::ffff:149.28.137.7]\r\n'
[04-07 11:19:06] [debug] > AUTH TLS
[04-07 11:19:06] [debug] < '234 AUTH TLS successful\r\n'
But VSCode notification shown an error message: self signed certificate
. And of course, the list of the files weren't shown.
On the other side, I can connect through FileZilla and the list of the files were shown successfully.
Alright, based on issue #210 ,
as @liximomo said, adding "secureOptions": {"rejectUnauthorized": false}
to the config file fixes my issue.
So if someone else is experiencing this issue, try to add these lines to your config:
"secure": true,
"secureOptions": {"rejectUnauthorized": false}
Thank you Guys! 😊
Do you read the FAQ?
Describe the bug In vscode output tab, I got these messages:
Previously, I got the sampe problem with Filezilla. But now, the Filezilla can access the FTP and the directories. But vscode-sftp still not able to list the directory and I got messages above.
I sometimes use vscode-sftp to work on shared hosting or vps with cPanel which were fine.
To Reproduce I could share with you the ftp username & password to try it directly. Please let me know if you would like to try.
Expected behavior Since now Filezilla can access it well, I think vscode-sftp should be able to access it too.
Desktop (please complete the following information):
Extension Logs from Startup - required