Added missing files, fixed ftpd.

git-svn-id: svn://kolibrios.org@2945 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2012-08-27 23:29:21 +00:00
parent 18e458abf8
commit 9c91f40719
3 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,8 @@
[ftpd]
port=21
conn=10
ip=127.0.0.1
[pasv]
start=2000
end=5000

View File

@ -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

View File

@ -483,7 +483,7 @@ cmdLIST:
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 @@ cmdLIST:
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