How to implement S3 Bucket with Suitecrm upload folder?

I have requirement to transfer the suitecrm upload functionality to S3 Bucket. So After R&D , I observed that We can extend the class UploadStream.

So guys , I need to understand your thought or I am on right path ?

Thanks
Nk

See my comments here

https://github.com/salesagility/SuiteCRM/pull/9123

there’s a subtle difference between code inside SuiteCRM that uses
upload://

and other code that uses
$GLOBALS['sugar_config']['upload_dir']."/" . $filename;

and finally code that uses the hard-coded
"upload/
directory.

Be careful because it’s not all consistent… but the UploadStream class should be your way forward, probably.

1 Like

Hey
Did you get anywhere with this. I am also looking to implement s3 bucket as upload for suiteCRM