Hi guys, can someone here help me out please? i have these specifications i wish to implement.
1. a File-Server Protocol that
-Connect to a remote machine, with or without exchanging a password (as
chosen by the server).
-Change directories on the local and the remote machine. List the content of
the current directory on the local and on the remote machine.
-Get a file from the current directory of the remote machine and store it in the
current directory of the local machine.
-Put a file from the current directory of the local machine and store it in the
current directory of the remote machine.
There should be a Client and Server class that support.....
-passwd: sent by the server requests a password from the client upon login.
-passwd pw: sent by the client supplies the password pw to the server.
-rcd name: changes the remote current directory to name
-lcd name: changes the local current directory to name
-lls: list local directory
-rls: list remote directory
-put name: takes the local file name and loads it to the remote server in the -remote current directory
-get name: gets the remote file name and loads it to the local server in the -remote current directory
-exit closes the client (but not the server)
Any idea will be well appreciated.