Question: Python program help TCP Simple File Server and Client The client program should: 1. accept a host, port number, remote file name and local file
TCP Simple File Server and Client The client program should: 1. accept a host, port number, remote file name and local file name from the command line 2. Request the remote file from the specified host and port over TCP To be coded in pythorn or prompt the user for these values at startup 3. Save the received file to local file name The server program should: 1. accept a port number from the command line 2. Accept connections from any address or prompt the user for this value at startup You do not need to handle more than one connection at a time. However, once you have transferred the file you should go back to accepting connections. 3. Get the filename to be transferred 4. Send the file to the client. You will not get full credit if you program does not handle the byte/stream nature of TCP even if it "appears" to be working correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
