autostructure
v3.0.0
Published
const uploadClass = require('autostructure') const path = require('path') new uploadClass({ title: 'testPublish', host: '175.24.84.10', // required character port: 22, // default port is 22 username: 'root', // your sftp account
Downloads
7
Readme
const uploadClass = require('autostructure') const path = require('path') new uploadClass({ title: 'testPublish', host: '175.24.84.10', // required character port: 22, // default port is 22 username: 'root', // your sftp account password: '******',// your sftp account localPath: path.resolve(__dirname, './', 'file'), // folder in local path path: '/home/test' // server path })