I'm trying to figure out the best way to upload a file to a NodeJS(any server I guess, but just being specific) every 30 mins.
I was thinking about using perl or python to acheive this, or even NodeJS or a CGI script?
Would it be best to just create a multi-part form?
Trying to figure out the best practice.
Thanks.
If this isn't part of other program logic, a simple curl --upload-file <file> <url> would do the job. If not, like Dan Grossman commented, any language capable of opening a socket and write HTTP headers and body would work (all assuming your node.js server is speaking http).
Upload file to NodeJS server every 30 minutes