Create a Python script that will recursively get file information from a given path on the client. The path can be given as an argument in the script. The script should work for both Linux and Windows...


Create a Python script that will recursively get file information from a given path on the client. The path can be given as an argument in the script. The script should work for both Linux and Windows environments. The file information will be put into a list of JSON objects containing the filename, path, and file size (in bytes). This JSON content will then be sent via POST to the following test endpoint:https://jsonplaceholder.typicode.com/posts


Please use Python 2.7 for this, you can use any libraries you want to assist with getting the file info and making the HTTP call.

Jan 09, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here