multer-ftp
FTP storage engine for multer.
Installation
$ npm install --save multer-ftp
Basic Usage
var multer = var FTPStorage = var upload =
For more FTP connection options see ftp
module connect
method.
Different filenames
By default random filenames are chosen (crypto.randomBytes
), you can change this behavior however by using a custom destination
function:
// Demonstrates destination that uses sha1 digest of filevar multer = var crypto = var FTPStorage = var upload =
Advanced usage
var multer = var FTPStorage = var FTP = var upload =
Todo
Write tests