/data/new-stack/network/ftpd.ini |
---|
0,0 → 1,8 |
[ftpd] |
port=21 |
conn=10 |
ip=127.0.0.1 |
[pasv] |
start=2000 |
end=5000 |
/data/new-stack/network/users.ini |
---|
0,0 → 1,19 |
; Access modes |
; |
; List = 1 |
; Read = 2 |
; Write = 4 |
; Delete = 8 |
; Change directory = 16 |
[anonymous] |
pass= ; leavy empty for none |
home=/rd/1/ |
mode=3 |
[test] |
pass=1234 |
home=/rd/1/ |
mode=31 |
/kernel/branches/net/applications/ftpd/commands.inc |
---|
483,7 → 483,7 |
invoke con_write_asciiz, str_newline |
; Start the search |
invoke file.find.first, ebx, str_mask, FA_READONLY+FA_FOLDER+FA_NORMAL+FA_ARCHIVED |
invoke file.find.first, ebx, str_mask, FA_READONLY+FA_FOLDER+FA_ARCHIVED;+FA_NORMAL |
test eax, eax |
jz .nosuchdir |
570,7 → 570,7 |
stosw |
test [ebp + thread_data.permissions], ABORT ; Did we receive ABOR command from client? |
;;; jnz .abort ; TODO |
jnz abort_transfer |
; check next file |
invoke file.find.next, ebx |