Some FTP client demo code for the brave.

git-svn-id: svn://kolibrios.org@3701 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-06-24 19:33:16 +00:00
parent e787937c63
commit 1812e8064e
3 changed files with 534 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
cmd_list:
call open_dataconnection
mov dword[s], "LIST"
mov word[s+4], 0x0d0a
mcall send, [socketnum], s, 6
jmp wait_for_serverdata
cmd_help:
push str_help
call [con_write_asciiz]
jmp wait_for_usercommand