by Charlie Calvert
sshfs -o idmap=user [email protected]:/var/www/html/images /images
npm install config mkdir config
{
"base-dir": "/home/charlie/",
"site-dirs": [
"Documents/AllTest",
"Git/CloudNotes/Assignments"
]
}
In control.js:
loadConfig and writeConfig
On the server side, use your readFile and writeFile npm utilities.
Use a select object.
Pick the item and send it to the server.
Make webServerDir configurable. It should probably be called destinationDir.
Skip syntax highlighting