Hi,
I have an embedded system (Harting Mica) which is like a raspberry pi and i am writing a node-red application for it.
I would like to access/download files via the dashboard or a http/ftp request.
My whole application is storing data and downloading/backing up the files about once a year. The files can reach 100MB and in sum all the files could reach 32GB.
The files are stored on an external drive (no sub directories, all files are directly on the drive).
I already accessed/imported multiple files in the node-red application using the nodes fs-ops-dir and file in.
For the download part I tried: http in -> putting a file in the payload -> setting the header that it downloads the file -> http response
as described here:
https://groups.google.com/d/msg/node-red/RujsHCCtGzg/MbKUl2iXEQAJI could download one file, but not multiple files.
My problem is that I cannot download all files with this solution because I cannot put all files together and send it (the sum of the files would reach 32GB and my RAM is not that big).
Therefore, I would need a solution to send file by file with one request.
Is the http request approach possible for my application and if yes, how?
Would make an ftp server in node-red make sense?
Which other possibilities do I have to access/download the files on my external drive via webservice?
Thank you very very much in advance for your help!
Best regards,
Jürgen