computer networs
Budget: $10 – $30 USD
Copy a file from the client to the server (put), which takes as an input argument the full path to a file on the client. Example execution: put
• Copy a file from a server to a client (get), which also takes as an argument the full path to a file on the server. Example execution: get
• Remap command that will allow the user to specify a remapping offset N and a target file in which to perform the remapping. Example execution: remap
• Quit the program per user request quit
4)port number is from 12000-12500 only
Starting the client; accepting user-specified commands:
icsi416-sp22% client_udp.py <server_IP> <port> Enter command: put test.txt
Awaiting server response.
Server response: File uploaded.
Enter command: remap 5 test.txt
Server response: File test.txt remapped. Output file is
test_remap.txt
Enter command: get test_remap.txt File test_remap.txt downloaded. Enter command: quit
Exiting program!
server port number giving like this:
Starting the server:
icsi416-sp22% server_tcp.py <port>
Starting the client:
icsi416-sp22% client_tcp.py <server_IP> <port> Enter command:
• Copy a file from a server to a client (get), which also takes as an argument the full path to a file on the server. Example execution: get
• Remap command that will allow the user to specify a remapping offset N and a target file in which to perform the remapping. Example execution: remap
• Quit the program per user request quit
4)port number is from 12000-12500 only
Starting the client; accepting user-specified commands:
icsi416-sp22% client_udp.py <server_IP> <port> Enter command: put test.txt
Awaiting server response.
Server response: File uploaded.
Enter command: remap 5 test.txt
Server response: File test.txt remapped. Output file is
test_remap.txt
Enter command: get test_remap.txt File test_remap.txt downloaded. Enter command: quit
Exiting program!
server port number giving like this:
Starting the server:
icsi416-sp22% server_tcp.py <port>
Starting the client:
icsi416-sp22% client_tcp.py <server_IP> <port> Enter command: