forked from KolibriOS/kolibrios
Added missing files, fixed ftpd.
git-svn-id: svn://kolibrios.org@2945 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
18e458abf8
commit
9c91f40719
8
data/new-stack/network/ftpd.ini
Normal file
8
data/new-stack/network/ftpd.ini
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[ftpd]
|
||||||
|
port=21
|
||||||
|
conn=10
|
||||||
|
ip=127.0.0.1
|
||||||
|
|
||||||
|
[pasv]
|
||||||
|
start=2000
|
||||||
|
end=5000
|
19
data/new-stack/network/users.ini
Normal file
19
data/new-stack/network/users.ini
Normal 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
|
||||||
|
|
@ -483,7 +483,7 @@ cmdLIST:
|
|||||||
invoke con_write_asciiz, str_newline
|
invoke con_write_asciiz, str_newline
|
||||||
|
|
||||||
; Start the search
|
; 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
|
test eax, eax
|
||||||
jz .nosuchdir
|
jz .nosuchdir
|
||||||
|
|
||||||
@ -570,7 +570,7 @@ cmdLIST:
|
|||||||
stosw
|
stosw
|
||||||
|
|
||||||
test [ebp + thread_data.permissions], ABORT ; Did we receive ABOR command from client?
|
test [ebp + thread_data.permissions], ABORT ; Did we receive ABOR command from client?
|
||||||
;;; jnz .abort ; TODO
|
jnz abort_transfer
|
||||||
|
|
||||||
; check next file
|
; check next file
|
||||||
invoke file.find.next, ebx
|
invoke file.find.next, ebx
|
||||||
|
Loading…
Reference in New Issue
Block a user