This topic is locked

How to store SignaturePad files into Amazon S3??

11/17/2024 9:15:08 AM
PHPRunner General questions
F
fahad225 authorDevClub member

Hello everyone,

I'm working on a web application where I use SignaturePad plugin to collect user signatures.
I need to save the generated signature files directly into an Amazon S3 bucket, but I’m unsure of the best approach to achieve this.
Is there any one here who did this before or know how to.

I am using phphrunner 10.91.

Regards,

F
fahad225 authorDevClub member 11/18/2024

Thanks @HJB for trying to assisst me.
The link you have shared is about storing files and photos in to the Amazon S3 as a general, andis not covering particularly when you are using the the SignaturePad plugin.
I hope someone else have faced the same issue and got solved.

HJB 11/18/2024

The Signature Pad functionality is providing a PICTURE by means of a PNG formatted image file (as far as I remember) which is usually stored (by default)
within the FILES directory on the web server. The provided LINK describes on how to make Amazon S3 capable to play the role of a bucket
for such (picture) FILES instead of the storing same in the FILES directory on the web server. So, you only have to change the FILE STORAGE path of the
Signature Pad once the Amazpon S3 setuo is properly done.

F
fahad225 authorDevClub member 11/18/2024

Thanks @HJB.
I have tried this way, but still the signaturepad files are saving locally instead of going to the s3.
Did you actualy implemented this before and is it worked well?

HJB 11/19/2024

https://asprunner.com/forums/topic/27241-upload-file-to-amazon-s3

ADMIN had been providing a tipp, by using AFTER ADD / AFTER EDIT event
along with a hint to the needed code snippet and its installation procedure.