/Socket_FileServer

File server using JAVA Sockets

Primary LanguageJava

FileServer using JavaSocket

This is the program for file server developed using Java Sockets.
To start the server, run the following command -

java -cp pa1.jar server start


To run the client, first youe need to set the enviornment variable named PA1_SERVER=
Following are the different commands supported by the client.

java -cp pa1.jar client upload

java -cp pa1.jar client download

java -cp pa1.jar client dir

java -cp pa1.jar client mkdir

java -cp pa1.jar client rmdir

java -cp pa1.jar client rm

java -cp pa1.jar client shutdown


Multiple clients can talk to the server at the same time.