Here you are sending a hello string to server for adding to a b.text file which is in the server.This is what I assumed.
For adding or editing in the text file which is in the server You have to write the procedure in the server side according to
your request in the mobile.