title: Use Node to copy an sftp file in place
body: <p>Short of manually creating a read/write stream and effectively doing the copy code myself, is there an easy way to copy a file in an sftp folder using Node? I've checked 3rd party libraries and there are lots of easy ways to copy a local file to an sftp site. But what I have in mind is connect to the sftp, then ideally use a library to issue a simple command like "copy file A and rename it to B", without having to download a file.</p>