-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
support for SFTP #136
Comments
can you try again that? If the error persists, can you share a code that reproduces this? Thanks |
here is some code to reproduce:
this gives the following results:
|
Thanks for the code, I will do some digging later this week . |
I had same issue with macOS High Sierra (10.13.6) and node v10.15.0 but with the steps below I got it working. Tested node-libcurl SFTP based on the official example code Output:
Next verified that my local curl itself actually supports SFTP:
This gave similar error: Based on this blog post I found out how to enable sftp with curl. I didn't follow the steps exactly as I got it working using brew. First verified that my machine has
This should show green check mark next to Next installed curl itself:
As final step I re-installed my node-libcurl dependency an ensured it would link to new system libcurl.
Also worth noting is that my package.json has a preinstall step for node-libcurl:
After all these steps the original test code started working properly. Given macOS and Linux are very similar it might help with the Linux issues too. |
This has been fixed on develop branch. |
when using node 10, it seems support for sftp protocol is there on Windows but not on Linux
The text was updated successfully, but these errors were encountered: