Skip to content

Instantly share code, notes, and snippets.

@vedranjaic
Last active August 29, 2015 14:12
Show Gist options
  • Save vedranjaic/10625ed8086e2b5056c1 to your computer and use it in GitHub Desktop.
Save vedranjaic/10625ed8086e2b5056c1 to your computer and use it in GitHub Desktop.
SFTP config file
{
// XYZ FTP
"type": "ftp",
// Settings
"connect_timeout": 5,
"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,
// FTP details
"host": "ftp.server.com",
"user": "username",
"password": "password",
"port": "21",
"remote_path": "/public_html/",
// Ignore list
"ignore_regexes": [
// Sublime files
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json", "sftp-settings\\.json", ".project",
// Folders
"/venv/", "_materijali", "_darcs", "CVS", "_notes", "temp", "_backup", "strip",
// Invisible files
"Thumbs\\.db", "desktop\\.ini",
// Files
"\\.svn", "\\.hg", "\\.git", "\\.gitignore", "\\.scss", "\\.sass", "\\.sass-cache", "\\.psd", "\\.bzr", "\\.DS_Store", "bs-config.js", ".dropbox"
],
//"file_permissions": "664",
//"dir_permissions": "775",
//"extra_list_connections": 0,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"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",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment