I am simulating client-server behavior on my laptop. the scenario is where the client uploads a file to the server and then is able to download the same file from the server. I was wondering though how I would exactly save it? Do i need to designate a specific location on my pc? i am using java to program my server and client.
So far, I have gotten to the thought of using the FileInputStream class and FileOutputStream class, but I am lost after this point.
Any advice would be appreciated.