From c2187c0d199bfacf26202ba4c46281c97e4389ab Mon Sep 17 00:00:00 2001 From: tech234a <46801700+tech234a@users.noreply.github.com> Date: Wed, 23 Sep 2020 01:32:41 -0400 Subject: [PATCH] Fix CURL --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 6a35cf0..95b34d4 100644 --- a/worker.py +++ b/worker.py @@ -297,7 +297,7 @@ while not gkiller.kill_now: elif targetloc.startswith("http"): for filzip in listdir("directory"): if filzip.endswith(".zip"): - system("curl --data-binary @directory/"+filzip+" "+targetloc) + system("curl -F "+filzip+"=@directory/"+filzip+" "+targetloc) # Report the batch as complete for itemb in batchcontent: