Question: In this assignment, you will write two programs: a simple FTP client and a simple FTP server . The server process should work in connection-oriented

In this assignment, you will write two programs: a simple FTP client and a simple FTP server. The server process should work in connection-oriented and concurrent-server mode. You will first be required to start the server process in a server host and publish its hostname and port number.

A user on another host (or from the same machine) can then download a file from or upload a file to the FTP server. After accepting the ftp command, the client process should respond with the prompt ftp>, waiting for the users next ftp commands. This is the minimum functional requirement of your FTP application.

Include error and validation checks in your application. Your program should be able to display an error message when some error occurs. You will need to consider such errors on both the client and server. Some examples include non-existent file or directory, invalid ftp commands, invalid options and etc.

Write a report detailing your implementation approach and explain the architecture behind your FTP application.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!