ftp-test-server

    0.0.2 • Public • Published

    ftp-test-server

    ftp-test-server is a very simple wrapper for pyftpdlib that provides the user with a ready-to-use FTP server for testing and experiments.

    Usage

    var Server = require('ftp-test-server');
     
    var myFtp = new Server();
     
    myFtp.on('stdout', function(data) {
      console.log(data);
    });
     
    myFtp.on('stderr', function(data) {
      console.log('ERROR', data);
    })
     
    myFtp.init({
      user: "sergi",
      pass: "1234",
      port: "3334"
    });

    Install

    npm i ftp-test-server

    DownloadsWeekly Downloads

    7

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • sergi