forked from rinie/nodeftpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·50 lines (46 loc) · 2.22 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--------------------------------------------------------------------------------
nodeftpd - a simple FTP server written in Node.JS
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
28 March 2010
--------------------------------------------------------------------------------
Forked from http://github.com/billywhizz/nodeftpd
Andrew Johnston - http://blog.beardsoft.com/node-ftp-server-initial-release
--------------------------------------------------------------------------------
Andrew's initial release was tested about node.js 0.1.21
In the few short months since that release, node.js has changed quite a bit
to where it is now, at time of writing 0.1.33
Changes made to nodeftp are as follows:
1. POSIX module has now been moved to FS (0.1.29)
2. File module has been removed (0.1.29)
3. sys.exec callback system seems to have changed??
- as such quite a lot of moving about and rehacking had to take place:
- LIST/NLIST
- DEL
- STOR
- RETR
- RNTO
4. tcp has changed function names and listeners
5. Rewrote ftptest.js as well
7. Changed ports to 7001/7002 so I can test without being root
8. Finally. Reformatted for my Emacs and javascript-mode
Also, not tested in Passive mode yet, but I think it works??
--------------------------------------------------------------------------------
One thing I had problems with was the root filesystem of the FTP server.
Even though I was running the ftpd.js from /home/rob/workspace it changed
it to "/". This meant that if I tried to get the SIZE of a file, eg:
/home/rob/workspace/file.txt
it tried to get the SIZE of
/home/rob/workspace//home/rob/workspace/file.txt
I narrowed this down to the dummyfs.js functionality, but then
if I changed the dummyfs root there was repeating of the path names
--------------------------------------------------------------------------------
TODO
- Fix the repeating file paths problem
- Add in non-anonymous logins
- Implement non-implemented functionality (see ftpd.js TODO list)
- Add in proper error checking
- Test in passive mode
--------------------------------------------------------------------------------
20 June 2010
Updated for node v0.1.98