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:
hidnplayr 2013-10-03 18:43:25 +00:00
parent ddfd6a7afc
commit a60f033fd1
2 changed files with 7 additions and 1 deletions

View File

@ -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_open db "opening data socket",10,0
str_close db "closing data socket",10,0
str2b db '.',0
str_help db "available commands:",10
db 10

View File

@ -12,7 +12,7 @@ server_parser:
je welcome
; cmp dword[s], "226 "
; je list_ok
; je transfer_ok
cmp dword[s], "227 "
je pasv_ok
@ -100,6 +100,8 @@ pasv_ok:
data_ok:
invoke con_write_asciiz, str2b
cmp [operation], OPERATION_STOR
je .stor
@ -143,12 +145,14 @@ data_ok:
mcall send, [datasocket], buffer_ptr2, , 0
.done:
invoke con_write_asciiz, str_close
mcall close, [datasocket]
jmp wait_for_servercommand
close_datacon:
invoke con_write_asciiz, str_close
mcall close, [datasocket]
jmp wait_for_usercommand