AWS S3

Upload all files to only AWS S3 bucket - AWS S3

Upload all files to only AWS S3 bucket

by Bymemor » Mon Dec 23, 2019 4:11 pm

HI,

Your AWS S3 extension is great. But I have one issue.

I want ASW S3 extension works with all files how it works with images. I mean, I want all lifes to upload my bucket but not my server and get link of these files from aws , not from my server. (Images are uploaded to bucket, and post get this link, I want it for all type files)

How can I do that?
Last edited by Bymemor on Tue Dec 24, 2019 6:24 am
User avatar
Bymemor
Registered User
Posts: 154
Joined: Sun Dec 01, 2019 7:55 pm

Re: Upload all files to AWS S3 bucket

by austin881 » Mon Dec 23, 2019 4:39 pm

Sorry if I am misunderstanding; your english is difficult for me to follow.
I believe what you are asking is does this extension work with all attachments, not just images. The answer is yes, it works with all file types.
Available for paid phpBB help! PM me.

My Extensions/MODS: 475 Narius Categorized Smilies for phpBB3, Simplified & Compacted All-Members page, Flash Animated Cumulus Tag Cloud, "Hello" Name Tag of Newest User, AWS S3
phpBB portfolio: chevy truck forum, chevy astro van forum
User avatar
austin881
Registered User
Posts: 287
Joined: Wed Jan 30, 2008 9:58 pm
Location: Texas, USA
Name: Austin Maddox

Re: Upload all files to AWS S3 bucket

by Bymemor » Mon Dec 23, 2019 5:22 pm

Yes, I know it works with all file types.
But when this extension is enabled uploaded attachments will be written to the local filesystem of the server as well as uploaded to the S3 bucket.
But I want that all uploaded attachments to be written to only the S3 bucket, not also my local filesystem.
When I upload image via this extension, I see that source url of image comes from my s3 bucket.
But other files, like .doc, .pdf and etc get url from local file system, not from S3 bucket.
All I want all files that I upload to be written only to the my s3 bucket and to get link from there for files.

Is it possible? If possible, how can I do?
User avatar
Bymemor
Registered User
Posts: 154
Joined: Sun Dec 01, 2019 7:55 pm

Re: Upload all files to only AWS S3 bucket

by MarkDHamill » Tue Dec 22, 2020 9:37 pm

This makes a lot of sense. For many the whole purpose of the extension is to get around quotas imposed by their hosts, or extra costs for a VPS. I get clients like this regularly. Perhaps I could fork the extension to do this.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4933
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA