In the file you need to make. Open a new notepad document and fill in as an example below, substituting your own IP into the url.
@echo on
curl -X POST -F file=@"%~1" "http://192.168.1.100:8080/cnc/data?filetype=1"
pause
Then save the document as “filesend.bat” making sure the filetype is set to ‘any type’ like this;