kolibrios/programs/network/ftpc/usercommands.inc
hidnplayr 1812e8064e Some FTP client demo code for the brave.
git-svn-id: svn://kolibrios.org@3701 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-24 19:33:16 +00:00

17 lines
318 B
PHP

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