Does anyone have experience hosting attachments outside of salesforce? I have a customer portal that allows file uploads via an authenticated sites user and it could potentially be a large number of files of substantial size. I've started to look into options like FTP Attachments in the app exchange but it doesn't seem to have an API I could add attachments through via APEX. Google drive does have an API that I'm assuming I could access through the REST API. Has anyone solved this problem before?
Some experience with this... it's pretty well integrated out of the box, on all Notes and Attachments fields. The functionality is available natively through Customer Portal, too.
Go to Setup > Google Apps > Settings
Configure your Google Apps Domain
Activate your Google Docs service
The user needs to specify a friendly name and the Google Drive or Google Docs URL, but the user can't actually upload it in the portal. The doc doesn't have to be in your Google Apps account. But, unfortunately, the doc must be in a Google Apps business account.
Amazon Web Services
Document seems a natural fit at first but isn't available in Lookups so a custom object is called for... Appirio have already done a lot of the legwork if you have cash to burn.
This is still in Pilot, but could be used to expose
ContentDocument object to your portal users. It allows individual attachments bigger than 5MB via Chatter, doesn't help with the overall storage limits though...