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:
17
programs/network/ftpc/usercommands.inc
Normal file
17
programs/network/ftpc/usercommands.inc
Normal 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
|
Reference in New Issue
Block a user