Open SolidStateHero opened 7 years ago
I'll see about some possible implementations for this tonight. No promises, but I'm confident that I can find something.
I found a couple of examples of read/write functions for Java. Here they are:
http://stackoverflow.com/questions/8153224/client-server-file-transfer-in-java
http://stackoverflow.com/questions/5113914/large-file-transfer-with-sockets
I've also found a page detailing some features of IOUtils, for those who aren't familiar with it. It also happens to cover a few features that might be useful for this task. It will be nice for those who are not familiar with it:
https://commons.apache.org/proper/commons-io/description.html
This is a child issue of issue #289
After sending the files, the client must be changed so that it accepts the files. This may require more research in the future, and possibly needs to be split into other issues. The files must be accepted with user conformation and placed in a directory of the user's choosing, though these requirements are not necessary for this issue to be closed.