Question: Write a program in python that does the following: We will create a local server and client on our machines that will take a single

Write a program in python that does the following:

We will create a local server and client on our machines that will take a single text file from a directory provided by the user and transfer that file over to a client that is requesting the file.

You will create 2 new files with the following details:

Client Module

The client will prompt the user for a text file ".txt" that it wants to receive and the directory where that file is located.

Using the user input, the client will request a copy of the file from the server

The client will wait for the file transfer from the server

The client will store the file in a folder called "Client Folder" which is to be created in the same directory as the py files.

Server Module

The server will accept incoming connections from a client

The server will take a filename and directory from the client and send the data over to the client requesting the file

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!