Storing attachments in Amazon Cloud (S3)
Hello!
I'm trying to figure out a way to store forum (and all other) attachments in the Amazon Cloud (S3). Has anyone tried to do something like this or has any pointers?
I think a possible workflow could be to write a plugin that runs after the file / attachment has been uploaded, gets its file path and then pushes the files to the cloud. This last bit I already know how to do, I'm just having difficulty with figuring out:
- what hook to use for the plugin
- what variable(s) store the attachment filepath
Thank you all in advance for any help you can provide!
|