FTPS connection with SFTP/FTP Sublime Text plugin
Solution 1
If your control panel has already specified the path for FTP connection then your remote path should just be '/'. Otherwise you are likely attempting to access:
/home/xxxxxxxx/public_html/home/xxxxxxxx/public_html
If you've tested '/' and that still doesn't work, possibly attempt connecting with an interactive FTPS client so you can see the root folder structure?
Solution 2
I've been having this error today, totally out of the blue because I use Sublime's SFTP package daily.
I closed Sublime and reopened it... problem solved.
Solution 3
I encountered this error message when I had the wrong setting on the ftp_passive_mode
. Just commenting it solved my problem.
Other (common) situations & errors that I've encountered were:
- wrong server type: which gave the following error:
- no port setting: which (weirdly) gave the following error:
- wrong port setting: which gave the following error:
I really hope these basic list helps people.
Solution 4
Changed type to ftp
even though it really SHOULD be ftps
and it worked.
Florin Frătică
Updated on June 14, 2022Comments
-
Florin Frătică about 2 years
Can I use Sublime SFTP plugin (from here) to make an FTPS connection type?
I was previously working with Notepad++ and the NppFTP plugin but I want to migrate towards Sublime Text however I have problems using the SFTP plugin to connect to my server. Here is my configuration file:
"type": "ftps", "sync_down_on_open": true, "sync_same_age": true, "host": "xxxxxxxxxxxxx.org", "user": "[email protected]", "password": "xxxxx", "port": "21", "remote_path": "/home/xxxxxxxx/public_html", "connect_timeout": 30,
I've been trying to change the remote_path multiple times and I can't make it work. I've been getting this error:
Connecting to FTPS server "xxxxxxxxxxxxx.org" as "[email protected]" .... success Validating remote folder "/home/xxxxxxxx/public_html" .. failure (Folder not found) Multiple disconnection errors, giving up
In my Cpanel, the path for all the FTP users is set to /home/cpanel_username/public_html.
I've also tried setting remove_path to "/" and I get another error:
Validating remote folder "/" .... failure (Disconnected)
Any ideas how I can make it work?
-
Matthew over 7 yearsThis just saved my day. For those having the same problem try the answer above and then just try to browse the remote. If it was successful you will be able to browse your files in the sublime popup window.
-
Beaniie over 6 yearsYOU ARE A LEGEND... + 1
-
blackandorangecat over 5 yearsI changed the type to
ftp
and it worked. Changed back toftps
and it also worked. -
Cobertos about 3 yearsDid not work for me. I have explicit FTPS set on the server and it failed with "Server requires FTPS connection"