Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to have OS based logic in sftp.json file? #1018

Open
fulmar2 opened this issue Jul 9, 2023 · 0 comments
Open

Is it possible to have OS based logic in sftp.json file? #1018

fulmar2 opened this issue Jul 9, 2023 · 0 comments

Comments

@fulmar2
Copy link

fulmar2 commented Jul 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant