How to use the ssh2.SFTP_STATUS_CODE.OK function in ssh2

To help you get started, we’ve selected a few ssh2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github silexlabs / unifile / test / unifile-sftp.js View on Github external
.on('CLOSE', (reqid, handle) => {
							sftpStream.status(reqid, SFTP_STATUS_CODE.OK);
						});
					});
github silexlabs / unifile / test / unifile-sftp.js View on Github external
							.then(() => sftpStream.status(reqid, SFTP_STATUS_CODE.OK))
							.catch((e) => {