Is it possible to have OS based logic in sftp.json file?
fulmar2 opened this issue · 0 comments
fulmar2 commented
Just a question:
I develop on multiple platforms, and it is necessary for me to specify different host settings depending on which platform I'm coding on. In the sftp.json file, I would like to use:
"protocol": "sftp",
"port": 22,
"remotePath": "/home1/****/public_html/****/",
When coding on my mac...
and
"protocol": "ftp",
"port": 21,
"remotePath": "/public_html/****/",
when coding on my raspberry pi. This is an attempted work-around for an issue I published here
Thank you in advance for your help.