Community discussions

Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
Joined: Fri Jul 27, 2012 12:11 pm

/tool fetch http-method=post gives "failure cannot open file"  [SOLVED]

Fri Nov 08, 2019 1:45 pm

I am trying to run a scheduled script that posts some data using the http-method=put and/or post. The command completes because the host happily accepts the data and processes it. Why would fetch complete with "status:failed" and "failure cannot open file"? I don't even want to transfer a file!

I run the same data and headers using the Linux 'curl' command and the verbose debug from that shows that the http session completes just fine with the posted data and no session errors. I have set http-header-field="Content-Type: application/x-www-form-urlencoded".

[edit] Oh OK so I set output=none and this error goes away as the default is output=file even though there is no file. That seems a bit daft.

Who is online

Users browsing this forum: No registered users and 107 guests