Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed Jan 7, 2016
1 parent b4e961d commit b35e87b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/nodeftpd.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var ftpd = require('../node_modules/ftpd');
var ftpd = require('ftpd');
var fs = require('fs');
var path = require('path');

Expand All @@ -7,11 +7,8 @@ var listenPort = process.env.PORT || 9999;
var server = new ftpd.FtpServer(process.env.IP || "127.0.0.1", {
getInitialCwd: function () { return path.normalize("/"); },
getRoot: function () { return path.normalize(process.cwd() + '/remote'); },
pasvPortRangeStart: 1000,
pasvPortRangeEnd: 2000,
useWriteFile: false,
useReadFile: false,
uploadMaxSlurpSize: 7000
useReadFile: false
});

server.on('error', function (err) {
Expand Down

0 comments on commit b35e87b

Please sign in to comment.