Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm using ssh2(https://github.com/lepture/node-scp2) node module, but it doesn't support scp, it is only support stftp.
But I need scp node.js implementation as my development target is only allow scp not stftp.
I found a several node.js project to support scp like following.

* scp2( https://github.com/lepture/node-scp2 )
- It use above ssh2 node.js modules, so it is using sftp to transfer file.
Actually it is not an implementation about scp.
* node-scp ( https://github.com/ecto/node-scp )
- It fork child process as 'scp'.
So, it is just wrapper for Host-PC's scp command. It doesn't work not having scp command on the system as default.

So, I need another node.js scp implementation, could you help me to find a proper node.js module ?
Posted
Updated 22-Aug-13 16:32pm
v2

1 solution

SCP? Sure, but it is already implemented. And highly recommended: http://www.scp-wiki.net/[^].

Perhaps, you still did not get the meaning of my answer. In this case, I'll explain.

First of all, the site I references above makes pretty interesting reading. (Disclaimer: I have no association with this site and no interest in promoting it. I'm just sharing interesting reading. It has some non-trivial and subtle relevance to CodeProject Q&A forum.)

Also, it should demonstrate that relying on some (actually most) abbreviations, without explaining it, is a bad idea. SCP may mean:
1) Secure Copy, 2) FreeSpace 2 Source Code Project, 3) Service Control Point, 4) Service class provider, 5) Session Control Protocol, and a lot more. :-)

Wish you the best of luck,
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900