Save to a networked drive from iOS

I’ve made a simple drawing app. I’d like to have a button that saves the file into a networked drive. Dropbox would work, or a folder shared and served from OSX. Any thoughts?