Uploading large Videos / Saving on Server

I'm trying to allow large file uploads, mainly videos, to the node-red server, and save the files to a location on disk.

I've tried Nicks example: https://flows.nodered.org/flow/c70d0b4c54b583cf30c7e989b74feb68

I tried it and get a maxFilesize exceeded error. I tried to adjust the maxFileSize variable in the defaultOptions object, and still get this message. I've tried to deploy, and clear browser cache. Error persists.

What am I doing wrong?

What are the limits of the http (Allow File Uploads)?

Nevermind, I found the html node had the option, changed it and it worked. I presume the dropzone.js template also needs to be of the appropriate size as well.

    // "myAwesomeDropzone" is the camelized version of the HTML element's ID
    Dropzone.options.myDropzone = {
      paramName: "myFile", // The name that will be used to transfer the file
      maxFilesize: 20000, // MB
      accept: function(file, done) {
        if (file.name == "justinbieber.jpg") {
          done("Naha, you don't.");
        }
        else { done(); }
      }
    };
</script>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.