Setting up Sublime Text's FTPSync

Posted February 6, 2014 34.3k views
Has anyone here set up the FTPSync plugin for Sublime Text to work with their DigitalOcean server? I've tried and I can't seem to get it working. Here's what I did: - Right clicked my folder in Sublime, FTPSync > Set up FTPSync in this folder - Edited my settings file to the following:
	"default": {
		"host": "",
		"username": "my_username",
		"password": "my_password",
		"path": "/var/www/my_site/",

		"upload_on_save": true
And it still doesn't work. Anyone got any suggestions?
1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
5 answers


after quiet a battle and a lot of help from crazydc and NoxArt at GitHub I’ve successfully set up FTPSync to work.

You need to match the FTP user and the owner of the files and folders you’re attempting to sync. So if your FTP user is root, it should also be the owner of the files and folder you’ll be working with.

I just use a default configuration:

    "primary": {
        "host": "",
        "username": "root",
        "password": "password",
        "path": "/home/something",

        "upload_on_save": true
I should also mention that the SFTP plugin isn't working either.
Does it output any errors?
This was the setup I used for my config...maybe you were having dns issues. I know I had a trailing slash on my address the was hanging me up.

Be that as it may, I can verify that I have Sublime Text 3 using the sftp plugin to map to my Digital Ocean server...hope

// The tab key will cycle through the settings when first created
// Visit for help

// sftp, ftp or ftps
"type": "sftp",

"save_before_upload": true,
"upload_on_save": true,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,

"host": "",
"user": "root",
"password": "my password",
//"port": "22",

"remote_path": "/var/www/",
"ignore_regexes": [
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"
//"file_permissions": "664",
//"dir_permissions": "775",

//"extra_list_connections": 0,

"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
//"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],

//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,
meant to say hope it helps