This package contains asynchronous helper methods to make using SFTP with the SSH2 package easier.
To initialize an sftp connection, simply include the package and then call
your server settings. Once connected, you can run the other methods (shown below).
const sftpa = ;await sftpa;const dirlist = await sftpa;const file = dirlist;const content = await sftpa;await sftpa;await sftpa;
There's a very basic test suite included. Rename
and change the settings to match your SFTP server. Drop a file in the source directory and
then run the tests.