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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started