I am trying to build a client that sends the file size and contents to server.
I am trying to use DataOutputStream.
I am assuming that I need to open the file and and get size of file and read the contents and send it.
But I am not sure how to implement those because I am really new to java...
Can anyone help me about this?
Thank you!