Saturday, July 23, 2016

Small Node/Javascript code to upload a file using sftp

This script upload a file using sftp. Before running it be sure to
  • Install NodeJS
  • Install ssh2 (npm install ssh2)
  • Fill the parameters at the top of the file
The script also list all the file in the folder before and after the uploading




No comments :

Post a Comment