How do I POST a file (to upload to my website) using a web2py app but without user intervention via a form? For instance, let's say I have a cron job that periodically looks for new jpegs in a folder and then uploads them to my website automatically.
Extra karma points if you can also tell me how to catch the POST on the server side. I've seen some old threads on the topic here but can't quite figure it out, yet.