Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant connect to FTP #1007

Open
karmeljuk opened this issue Sep 5, 2022 · 4 comments
Open

Cant connect to FTP #1007

karmeljuk opened this issue Sep 5, 2022 · 4 comments

Comments

@karmeljuk
Copy link

karmeljuk commented Sep 5, 2022

Do you read the FAQ?

  • [V] Yes.

Describe the bug
I want to connect to server with FTPES to FTP. In Filezilla everything works fine. Here is my config:

{
    "name": "name",
    "host": "host.com",
    "protocol": "ftp",
    "port": 21,
    "passive": true,
    "username": "name",
    "password": "***",
    "remotePath": "/",
    "uploadOnSave": true
}

In this case I see an error:
Sorry, cleartext sessions and weak ciphers are not accepted on this server. Please reconnect using TLS security mechanisms.

If I set ftpes://host.com I see another error:
getaddrinfo ENOTFOUND ftpes://host.com

Expected behavior
I want to connect to the FTP

Desktop (please complete the following information):

  • OS: Ubuntu 18.04
  • VSCode Version 1.69.2
  • Extension Version v1.15.14

Extension Logs from Startup - required

[09-05 17:04:19] [debug] register command "Config" from "./commandConfig.ts"
[09-05 17:04:19] [debug] register command "List Active Folder" from "./commandListActiveFolder.ts"
[09-05 17:04:19] [debug] register command "Open Ssh Connection" from "./commandOpenSshConnection.ts"
[09-05 17:04:19] [debug] register command "Set Profile" from "./commandSetProfile.ts"
[09-05 17:04:19] [debug] register command "Toggle Output Panel" from "./commandToggleOutputPanel.ts"
[09-05 17:04:19] [debug] register command "Upload Changed Files" from "./commandUploadChangedFiles.ts"
[09-05 17:04:19] [debug] register command "Create File" from "./fileCommandCreateFile.ts"
[09-05 17:04:19] [debug] register command "Create Folder" from "./fileCommandCreateFolder.ts"
[09-05 17:04:19] [debug] register command "Delete Remote" from "./fileCommandDeleteRemote.ts"
[09-05 17:04:19] [debug] register command "Diff" from "./fileCommandDiff.ts"
[09-05 17:04:19] [debug] register command "Diff Active File" from "./fileCommandDiffActiveFile.ts"
[09-05 17:04:19] [debug] register command "Download" from "./fileCommandDownload.ts"
[09-05 17:04:19] [debug] register command "Download Active File" from "./fileCommandDownloadActiveFile.ts"
[09-05 17:04:19] [debug] register command "Download Active Folder" from "./fileCommandDownloadActiveFolder.ts"
[09-05 17:04:19] [debug] register command "Download File" from "./fileCommandDownloadFile.ts"
[09-05 17:04:19] [debug] register command "Download Folder" from "./fileCommandDownloadFolder.ts"
[09-05 17:04:19] [debug] register command "Download Force" from "./fileCommandDownloadForce.ts"
[09-05 17:04:19] [debug] register command "Download Project" from "./fileCommandDownloadProject.ts"
[09-05 17:04:19] [debug] register command "Edit In Local" from "./fileCommandEditInLocal.ts"
[09-05 17:04:19] [debug] register command "List" from "./fileCommandList.ts"
[09-05 17:04:19] [debug] register command "List All" from "./fileCommandListAll.ts"
[09-05 17:04:19] [debug] register command "Reveal In Explorer" from "./fileCommandRevealInExplorer.ts"
[09-05 17:04:19] [debug] register command "Reveal In Remote Explorer" from "./fileCommandRevealInRemoteExplorer.ts"
[09-05 17:04:19] [debug] register command "Sync Both Directions" from "./fileCommandSyncBothDirections.ts"
[09-05 17:04:19] [debug] register command "Sync Local To Remote" from "./fileCommandSyncLocalToRemote.ts"
[09-05 17:04:19] [debug] register command "Sync Remote To Local" from "./fileCommandSyncRemoteToLocal.ts"
[09-05 17:04:19] [debug] register command "Upload" from "./fileCommandUpload.ts"
[09-05 17:04:19] [debug] register command "Upload Active File" from "./fileCommandUploadActiveFile.ts"
[09-05 17:04:19] [debug] register command "Upload Active Folder" from "./fileCommandUploadActiveFolder.ts"
[09-05 17:04:19] [debug] register command "Upload File" from "./fileCommandUploadFile.ts"
[09-05 17:04:19] [debug] register command "Upload Folder" from "./fileCommandUploadFolder.ts"
[09-05 17:04:19] [debug] register command "Upload Force" from "./fileCommandUploadForce.ts"
[09-05 17:04:19] [debug] register command "Upload Project" from "./fileCommandUploadProject.ts"
[09-05 17:04:20] [info] config at /home/user/site.loc {"remotePath":"/","uploadOnSave":true,"useTempFile":false,"openSsh":false,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"ftp","connectTimeout":10000,"interactiveAuth":false,"secure":"true","remoteTimeOffsetInHours":0,"name":"name","host":"host.com","port":21,"passive":true,"username":"******","password":"******"}```
@m8brgarc
Copy link

m8brgarc commented Jan 6, 2023

I'm having this issue as well.

@karmeljuk
Copy link
Author

karmeljuk commented Jan 9, 2023

I'm having this issue as well.

Add "secure": "control",

{
    "name": "name",
    "host": "host",
    "protocol": "ftp",
    "port": port,

    "secure": "control",

    "username": "username",
    "remotePath": "remotePath",
    "password": "password",  
    "uploadOnSave": true,
    "ignore": []
}

@satiromarra
Copy link

You can try my version, I have fixed bugs and added new features, maybe this will fix the problem you are having.
https://marketplace.visualstudio.com/items?itemName=satiromarra.code-sftp

@leandrogrupozani
Copy link

You can try my version, I have fixed bugs and added new features, maybe this will fix the problem you are having. https://marketplace.visualstudio.com/items?itemName=satiromarra.code-sftp

same error :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants