@ -0,0 +1,15 @@
#!/usr/bin/python3
import requests
import sys
### print (sys.argv)
### print(len(sys.argv))
if len(sys.argv) < 3:
print("Invalid parameters\n")
exit
filename = sys.argv[2]
url = sys.argv[1]
files = {'file': open(filename, 'rb')}
final_resp = requests.post(url, files=files)