liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 260 forks source link

Cannot download or upload file with FTPS #765

Open sorinsfirlogea opened 4 years ago

sorinsfirlogea commented 4 years ago

Do you read the FAQ?

Describe the bug I'm using VSCode on Kubuntu 18.04. Settings of SFTP extension: { "name": "Upcloud", "host": "94.237.29.109", "protocol": "ftp", "port": 21, "secure": true, "secureOptions": { "rejectUnauthorized": false }, "username": "**", "password": "**", "remotePath": "/var/www/html/leanergy/", "uploadOnSave": false } The extension connects to the server, I am able to navigate in the remote structure. When I try to download or upload any file it hangs (see below the debug log). I have removed completely any firewall settings, but no change to the error.

Expected behavior Download or upload of a file. From the same machine I am successfully connecting and transferring files with Filezilla, using the same configuration.

Desktop (please complete the following information):

Extension Logs from Startup - required [05-02 09:44:01] [info] config at /home/sorin/Dropbox/Development/Coding/leanergy {"remotePath":"/var/www/html/leanergy/","uploadOnSave":false,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"ftp","connectTimeout":10000,"interactiveAuth":false,"secure":true,"remoteTimeOffsetInHours":0,"name":"Upcloud","host":"94.237.29.109","port":21,"secureOptions":{"rejectUnauthorized":false},"username":"**","password":"**"} [05-02 09:44:09] [trace] run command 'Download File' [05-02 09:44:09] [trace] handle download file for /home/sorin/Dropbox/Development/Coding/leanergy/games/xp-admin.php [05-02 09:44:09] [debug] < '220 (vsFTPd 3.0.3)\r\n' [05-02 09:44:09] [debug] > AUTH TLS [05-02 09:44:09] [debug] < '234 Proceed with negotiation.\r\n' [05-02 09:44:09] [debug] > PBSZ 0 [05-02 09:44:09] [debug] < '200 PBSZ set to 0.\r\n' [05-02 09:44:09] [debug] > PROT P [05-02 09:44:09] [debug] < '200 PROT now Private.\r\n' [05-02 09:44:09] [debug] > USER ftpuser [05-02 09:44:09] [debug] < '331 Please specify the password.\r\n' [05-02 09:44:09] [debug] > PASS ** [05-02 09:44:09] [debug] < '230 Login successful.\r\n' [05-02 09:44:09] [debug] > FEAT [05-02 09:44:09] [debug] < '211-Features:\r\n' [05-02 09:44:09] [debug] < ' AUTH TLS\r\n' [05-02 09:44:09] [debug] < ' EPRT\r\n' [05-02 09:44:09] [debug] < ' EPSV\r\n' [05-02 09:44:09] [debug] < ' MDTM\r\n' [05-02 09:44:09] [debug] < ' PASV\r\n' [05-02 09:44:09] [debug] < ' PBSZ\r\n' [05-02 09:44:09] [debug] < ' PROT\r\n' [05-02 09:44:09] [debug] < ' REST STREAM\r\n' [05-02 09:44:09] [debug] < ' SIZE\r\n' [05-02 09:44:09] [debug] < ' TVFS\r\n' [05-02 09:44:09] [debug] < '211 End\r\n' [05-02 09:44:09] [debug] > TYPE I [05-02 09:44:09] [debug] < '200 Switching to Binary mode.\r\n' [05-02 09:44:09] [debug] > PASV [05-02 09:44:09] [debug] < '227 Entering Passive Mode (94,237,29,109,250,193).\r\n' [05-02 09:44:09] [debug] > PASV [05-02 09:44:09] [debug] < '227 Entering Passive Mode (94,237,29,109,250,179).\r\n' [05-02 09:44:09] [debug] > LIST /var/www/html/leanergy/games [05-02 09:44:09] [debug] < '150 Here comes the directory listing.\r\n' [05-02 09:44:10] [debug] < '226 Directory send OK.\r\n' [05-02 09:44:10] [debug] > PASV [05-02 09:44:10] [debug] < '227 Entering Passive Mode (94,237,29,109,250,163).\r\n' [05-02 09:44:10] [debug] > RETR /var/www/html/leanergy/games/xp-admin.php [05-02 09:44:10] [debug] < '150 Opening BINARY mode data connection for /var/www/html/leanergy/games/xp-admin.php (5945 bytes).\r\n'