Comments (6)
I did that because it makes the perfect sense to me, you write the path to the file you wanna fetch and then you write where you wanna store it. Also changing it at this point would be breaking compatibility, I won't mind doing this in the next major bump though
from node-ssh.
But you have to change it in the method. The param for the remote path is
used on the local machine and vice versa. The order of the params is
correct. It displays the direction of data transfer.
Steel Brain [email protected] schrieb am Mo., 30. Mai 2016, 20:27:
I did that because it makes the perfect sense to me, you write the path to
the file you wanna fetch and then you write where you wanna store it. Also
changing it at this point would be breaking compatibility, I won't mind
doing this in the next major bump though—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#20 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANNKzO-rkEhkOqhLaW1f84O2MdraXbtOks5qGywTgaJpZM4IpzLo
.
from node-ssh.
I've added this to v3.0.0 milestone btw
from node-ssh.
Fixed in v3.0.0
from node-ssh.
Nice :) Thank you.
from node-ssh.
Just a reminder that there are a lot of API breaking changes in the new release, make sure to read CHANGELOG.md
from node-ssh.
Related Issues (20)
- Module '"stream"' can only be default-imported using the 'esModuleInterop' flag
- UnhandledPromiseRejectionWarning: Error: invalid command ping www.google.com
- privateKey: Buffer.from('...') HOT 4
- How about method ssh.disconnect ? HOT 3
- Command injection using execcommand
- how set debug logs in node-ssh npm HOT 1
- add custom parameter to ssh connection config HOT 1
- ssh: bind connection to special interface or IP address(config.localAddress?)
- NodeSSH Reconnect Issue: isConnected() Returns TRUE Even When Connection Unsuccessful
- Does node-ssh work with the latest OpenSSL version (I think it is 8.9) and Ubuntu 22?
- execCommand mistakenly removes empty content at the beginning and end of a file. HOT 2
- can not add event listener for handshake event to identify negotiated kex HOT 2
- can i set timeout for ssh command? HOT 2
- Question: Any way to skip unmodified files from being uploaded to server? HOT 1
- feature suggestions HOT 1
- Seek fault when downloading some files HOT 1
- ssh.dispose method throwing error after migrating to node 18 HOT 1
- Question: How to interact with sub-shell created from the main shell
- Is it possible to set transfer mode (binary or ascii) when calling `putFile`
- execCommand throws on large outputs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ssh.