code: async function uploadFile(sftp, source, target) {
    return new Promise((resolve, reject) => {
      sftp.fastPut(source, target, error => (error ? reject(error) : resolve()));
    });
  }
docs: Upload a file to the provided ftp server
  @param sftp
  @param source
  @param target
  @returns {Promise<*>}