Skip to content

Instantly share code, notes, and snippets.

@ilhamgusti
Created June 25, 2019 00:14
Show Gist options
  • Save ilhamgusti/137d093e2e1ef9a9bcc61645d0c2dcf9 to your computer and use it in GitHub Desktop.
Save ilhamgusti/137d093e2e1ef9a9bcc61645d0c2dcf9 to your computer and use it in GitHub Desktop.
SFTP config VSCode
[{
"name": "ini config root pemrograman",
"host": "ini host",
"protocol": "ftp",
"port": 21,
"username": "ini username",
"password": "ini password",
"remotePath": "/",
"uploadOnSave": true,
"downloadOnOpen": true,
"syncOption": {
"delete": true,
"ignoreExisting": true,
"skipCreate": true,
"update": true
},
"watcher":{
"files": "**/*",
"autoUpload": true,
"autoDelete": true
},
"remoteExplorer":{
"filesExclude": [
".vscode",
".git",
".phpintel",
"node_modules",
"docker",
"bootstrap",
"vendor",
".DS_Store",
"cgi-bin",
".well-known",
".ftpquota"]
},
"ignore": [
"/.vscode",
"/.git",
"/.phpintel",
"/node_modules",
"/docker",
"/bootstrap",
"/vendor",
".DS_Store",
"cgi-bin",
".well-known",
".ftpquota",
".env",
".htaccess",
"public",
"storage"
]
},
{
"name": "ini config folder src atau public atau yanglainnya",
"context": "./public",
"host": "ini alamat host",
"protocol": "ftp",
"port": 21,
"username": "ini username",
"password": "ini password",
"remotePath": "/public",
"uploadOnSave": true,
"remoteExplorer":{
"filesExclude": [
".vscode",
".git",
".phpintel",
"node_modules",
"docker",
"bootstrap",
"vendor",
".DS_Store",
"cgi-bin",
".well-known",
".ftpquota"]
},
"ignore": [
"/vendor",
"cgi-bin",
".well-known",
".ftpquota",
".env",
".htaccess",
"public",
"storage"
]
}
]
@TORAHTECH
Copy link

TORAHTECH commented Feb 5, 2022

Pretty BOSS! going to add a couple more connections and post on how to reflect this in VS Explorer view for work offline with XAMPP and XAMPP's FTP. details at torahtech.tech

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment