forked from KolibriOS/kolibrios
FTP client: print some more text to the user.
git-svn-id: svn://kolibrios.org@3967 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ddfd6a7afc
commit
a60f033fd1
@ -348,6 +348,8 @@ str_unknown db "Unknown command or insufficient parameters - type help for m
|
|||||||
str_lcwd db "Local working directory is now: ",0
|
str_lcwd db "Local working directory is now: ",0
|
||||||
|
|
||||||
str_open db "opening data socket",10,0
|
str_open db "opening data socket",10,0
|
||||||
|
str_close db "closing data socket",10,0
|
||||||
|
str2b db '.',0
|
||||||
|
|
||||||
str_help db "available commands:",10
|
str_help db "available commands:",10
|
||||||
db 10
|
db 10
|
||||||
|
@ -12,7 +12,7 @@ server_parser:
|
|||||||
je welcome
|
je welcome
|
||||||
|
|
||||||
; cmp dword[s], "226 "
|
; cmp dword[s], "226 "
|
||||||
; je list_ok
|
; je transfer_ok
|
||||||
|
|
||||||
cmp dword[s], "227 "
|
cmp dword[s], "227 "
|
||||||
je pasv_ok
|
je pasv_ok
|
||||||
@ -100,6 +100,8 @@ pasv_ok:
|
|||||||
|
|
||||||
data_ok:
|
data_ok:
|
||||||
|
|
||||||
|
invoke con_write_asciiz, str2b
|
||||||
|
|
||||||
cmp [operation], OPERATION_STOR
|
cmp [operation], OPERATION_STOR
|
||||||
je .stor
|
je .stor
|
||||||
|
|
||||||
@ -143,12 +145,14 @@ data_ok:
|
|||||||
mcall send, [datasocket], buffer_ptr2, , 0
|
mcall send, [datasocket], buffer_ptr2, , 0
|
||||||
|
|
||||||
.done:
|
.done:
|
||||||
|
invoke con_write_asciiz, str_close
|
||||||
mcall close, [datasocket]
|
mcall close, [datasocket]
|
||||||
jmp wait_for_servercommand
|
jmp wait_for_servercommand
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
close_datacon:
|
close_datacon:
|
||||||
|
invoke con_write_asciiz, str_close
|
||||||
mcall close, [datasocket]
|
mcall close, [datasocket]
|
||||||
jmp wait_for_usercommand
|
jmp wait_for_usercommand
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user