FileUpload: Uploading (large files) directly to S3

Again I'm struggling with uploading of large files (several gigabytes). I am experimenting with using the S3 (in my case, DigitalOcean) as the filesystem. This in the hopes of having the FileUpload component set up to upload directly to the server when selecting a file instead of sending it to a temp directory on the webserver first and avoiding "File too large" errors. But I cannot figure out how to do this. Is this even possible? Can anybody please point me in the right direction of example?
Was this page helpful?