README
Plus-uploader - alpha
Plus-uploader is a static file uploader using ftp protocol.
Instalation
This package needs to be uploaded globally
npm i -g plus-uploader
Usage
You can use plus-uploader in this way:
File structure:
project
│ .deployconf
│
└───Public
│ │ index.html
│ │ ... css & js files
In project folder you must create .deployconf file where you enter:
ftp=server_host_name
username=ftp_username
password=password
If this exists just run:
~/project $ plus-uploader public/
That is it. If FTP is well set up (to) root FTP folder be the website folder. This should work out of the box. If you want to clean the folder before upload just run it with flag --clean true.
~/project $ plus-uploader public/ --clean true