Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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": "[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?

like image 722
Florin Frătică Avatar asked Dec 27 '25 16:12

Florin Frătică


1 Answers

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?

like image 168
Seonixx Avatar answered Dec 31 '25 19:12

Seonixx



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!