What is the problem?
I don't know how to upload a file directly from an HTTPS url
What did you already try to solve it?
I made a python script like this
import requests as rq
url = r'https://somebigrepdomain.org:5000/api/files/local?apikey=someapikeyihave'
gcode = r'https://somedomain.org/raw/file1.gcode'
data = rq.get(gcode)
upload = {'file': data.content,}
r = rq.post(url, files=upload)
print(r.text)
Of course I get the error "Could not upload the file 'file', invalid type", status code 400
Have you tried running in safe mode?
n/a
Did running in safe mode solve the problem?
n/a
Complete Logs
octoprint.log
, serial.log
or output on terminal tab at a minimum, browser error console if UI issue ... no logs, no support! Not log excerpts, complete logs.)
n/a
Additional information about your setup
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
windows 10, BigRep ONEv3