Skip to content

Instantly share code, notes, and snippets.

@dev-armando
Created October 14, 2021 05:54
Show Gist options
  • Save dev-armando/3de1f50ef146c703863b89e71d645807 to your computer and use it in GitHub Desktop.
Save dev-armando/3de1f50ef146c703863b89e71d645807 to your computer and use it in GitHub Desktop.
Example of sftp configuration in Sublime Text 3 editor
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help
// sftp, ftp or ftps
"type": "ftp",
"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": false,
"confirm_overwrite_newer": false,
"host": "ftp.sitewb",
"user": "youruser@yoursiteweb",
"password": "****",
"port": "21",
"remote_path": "/",
"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": 90,
//"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,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment