I need to write a small java server that can be accessed through a web browser to download a file, preferably using sockets. Could anyone point me in the right direction as I can only find examples for the reverse (downloading from http using a java client).
Thanks,
Tom