Hi Pete,
Here's a quick example that works for me:
Create a ui_template with the following content:
<form action="/file-upload" method="post" enctype="multipart/form-data">
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
This is a simple html form set to upload its contents (which includes a file input) to the /file-upload url.
Then, I have an HTTP In node set to accept POSTs on /file-upload - and I have ticked the 'Accept file uploads' option.
When I hit the submit button the form, the HTTP In node is triggered with the uploaded file under msg.req.files[0]
Does that help?
[{"id":"90de0cfe.ca90a","type":"http in","z":"d7390dbd.02ae5","name":"","url":"/file-upload","method":"post","upload":true,"swaggerDoc":"","x":543,"y":368,"wires":[["f44eee6a.fa1a8","7835838e.a259cc"]]},{"id":"f44eee6a.fa1a8","type":"debug","z":"d7390dbd.02ae5","name":"","active":true,"console":"false","complete":"req.files","x":859,"y":376,"wires":[]},{"id":"7835838e.a259cc","type":"function","z":"d7390dbd.02ae5","name":"","func":"msg.payload = \"OK\";\nreturn msg;","outputs":1,"noerr":0,"x":650,"y":420,"wires":[["b2930be5.501e38"]]},{"id":"b2930be5.501e38","type":"http response","z":"d7390dbd.02ae5","name":"","statusCode":"","headers":{},"x":750,"y":460,"wires":[]}]
Nick