How to grab pictures from IP camera and send them to dropbox?

I use zoneminder, but haven’t got yet to integrating it with openhab. Thanks.