Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
392 stars 75 forks source link

Abort connection when entering passive mode on active ftp mode servers #487

Open nuriarai opened 4 months ago

nuriarai commented 4 months ago

Do you read the FAQ?

Describe the bug We can connect with servers in active mode. The SFTP extension lacks of an attribute to config the connection for servers in active mode.

To Reproduce 1 - Config your sftp.json as normal like this: (so is, without any option to opt by passive or active mode) { "name": "yourname", "host": "yourhost", "protocol": "ftp", "port": 21, "username": "yourusername", "remotePath": "/httpdocs/", "uploadOnSave": false, "useTempFile": false, "openSsh": false } 2 - Try to upload a file 3 - In Output panel see the problem: [05-15 11:37:59] [debug] < '230 User youruser logged in\r\n' [05-15 11:37:59] [debug] > FEAT [05-15 11:37:59] [debug] < ' RANG STREAM\r\n REST STREAM\r\n SIZE\r\n SSCN\r\n TVFS\r\n UTF8\r\n211 End\r\n' [05-15 11:37:59] [debug] > TYPE I [05-15 11:37:59] [debug] < '200 Type set to I\r\n' [05-15 11:37:59] [debug] > PASV [05-15 11:38:00] [debug] < '227 Entering Passive Mode (youripserver).\r\n' [05-15 11:38:10] [debug] > ABOR [05-15 11:38:10] [debug] < '226 Abort successful\r\n'

Expected behavior I would expect to have an option to connect with servers with active mode, because not all FTP servers accept connection on passive mode.

Desktop:

truefriend-cz commented 3 months ago

I have same problem... long years. Any solution PLEASE???