Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Last active March 22, 2019 12:25
Show Gist options
  • Save yanknudtskov/332a339ec1ef183574d868e94d0062da to your computer and use it in GitHub Desktop.
Save yanknudtskov/332a339ec1ef183574d868e94d0062da to your computer and use it in GitHub Desktop.
Visual Studio Code SFTP config template
{
"name": "SERVER",
"profiles": {
"development": {
"host": "",
"username": "",
"password": "",
"remotePath": "",
"uploadOnSave": true,
"protocol": "ftp",
"port": 21,
"secure": true,
"secureOptions": {
"secureProtocol" : "TLSv1_2_method",
"rejectUnauthorized" : false,
"requestCert" : true,
"agent": false
}
},
"production": {
"host": "",
"username": "",
"password": "",
"remotePath": "",
"uploadOnSave": true,
"protocol": "ftp",
"port": 21,
"secure": true,
"secureOptions": {
"secureProtocol" : "TLSv1_2_method",
"rejectUnauthorized" : false,
"requestCert" : true,
"agent": false
}
}
},
"defaultProfile": "development",
"watcher": {
"files": "**/*.{css}",
"autoUpload": true,
"autoDelete": false
},
"ignore": [
".ftpconfig",
".ftpignore",
".sublime-project",
".sublime-workspace",
"sftp-config.json",
"sftp-settings.json",
"/venv/",
".svn/",
".vscode/",
".hg/",
".git/",
".bzr",
"_darcs",
"CVS",
".DS_Store",
"Thumbs.db",
"desktop.ini",
"Gruntfile.js",
"package.json",
"node_modules",
".sass-cache",
".htaccess",
"php.ini"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment