FTPc: some more bugfixes, added cwd command

git-svn-id: svn://kolibrios.org@3790 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-07-09 20:55:18 +00:00
parent 75cac16296
commit 0b02e4cfe7
3 changed files with 51 additions and 17 deletions

View File

@@ -14,4 +14,18 @@ cmd_help:
push str_help
call [con_write_asciiz]
jmp wait_for_usercommand
jmp wait_for_usercommand
cmd_cwd:
mov dword[s], "CWD "
mov ecx, 256
xor al, al
mov edi, s
repne scasb
lea esi, [edi - s - 1]
mcall send, [socketnum], s, , 0
jmp wait_for_servercommand