FTPc: added pwd command, bugfixes
git-svn-id: svn://kolibrios.org@3794 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -4,7 +4,7 @@ cmd_list:
|
||||
|
||||
mov dword[s], "LIST"
|
||||
mov byte[s+4], 0x0a
|
||||
mcall send, [socketnum], s, 5
|
||||
mcall send, [socketnum], s, 5, 0
|
||||
|
||||
jmp wait_for_servercommand
|
||||
|
||||
@@ -16,6 +16,13 @@ cmd_help:
|
||||
|
||||
jmp wait_for_usercommand
|
||||
|
||||
cmd_pwd:
|
||||
|
||||
mov dword[s], "PWD" + 10 shl 24
|
||||
mcall send, [socketnum], s, 4, 0
|
||||
|
||||
jmp wait_for_servercommand
|
||||
|
||||
cmd_cwd:
|
||||
|
||||
mov dword[s], "CWD "
|
||||
|
Reference in New Issue
Block a user