Browse files

upgrate to v0.1.102 and add Make dir and Rm Dir

  • Loading branch information...
1 parent 466f9fb commit 6f8350505aa82506c6312435ae183c406a1fe74e @ericfong ericfong committed Aug 12, 2010
Showing with 11 additions and 0 deletions.
  1. 0 README
  2. 0 dummyfs.js
  3. +1 −0 ftpd.js
  4. +10 −0 ftpsimple.js
  5. 0 ftptest.js
  6. 0 sprintf.js
View
0 README 100644 → 100755
File mode changed.
View
0 dummyfs.js 100644 → 100755
File mode changed.
View
1 ftpd.js 100644 → 100755
@@ -281,6 +281,7 @@ function createServer(host)
});
psocket.addListener("end", function () {
dotrace("DATA end");
+ //pasv.close();
});
psocket.addListener("error", function(had_error) {
dotrace("DATA error: " + had_error);
View
10 ftpsimple.js
@@ -0,0 +1,10 @@
+var sys = require("sys");
+var net = require("net");
+var ftpd = require("./ftpd");
+var spf = require("./sprintf");
+ftpd.createServer("localhost").listen(21);
+console.log('Listening on ftp://localhost:21/');
+
+process.on('uncaughtException', function (err) {
+ console.log('Uncaught exception: ' + err);
+});
View
0 ftptest.js 100644 → 100755
File mode changed.
View
0 sprintf.js 100644 → 100755
File mode changed.

0 comments on commit 6f83505

Please sign in to comment.