FTPS connection with SFTP/FTP Sublime Text plugin
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": "xxxxx@xxxxxxxxxxxxx.org",
"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 "xxxxx@xxxxxxxxxxxxx.org" .... 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?
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?
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.
Try removing the ftp.
It worked for me like a charm