Save pdf to a custom directory outside of uploads directory - LargeFS

Formidable Forms Released
6 October, 2021 16:43:02
asandage
Topics: 2
Messages: 4
Is there a way to have the PDF for a template saved to a custom directory that is outside of the uploads directory? The reason for this is that we are using LargeFS to offload images to AWS and when we use a PDF to create a template, after the file gets offloaded, the template no longer shows the PDF file, just a blank background.

Thanks!
7 October, 2021 02:26:24
E2Pdf
Support
Topics: 7
Messages: 3335
Hi,

Unfortunately there is no such possibility and after reading LargeFS documentation it seems not possible to add exclusions... We will check if we can add such feature and will let you know as soon as get any news.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
7 October, 2021 21:33:01
asandage
Topics: 2
Messages: 4
Thank you! I will wait to hear back from you - I am hoping that you can add this feature since this was the primary reason that we purchased this plugin.
12 October, 2021 04:45:05
E2Pdf
Support
Topics: 7
Messages: 3335
Hi,

We currently released RC version (1.16.38) with support of custom uploads dir for E2Pdf. You can update plugin to RC version by following steps in current topic: https://e2pdf.com/support/desk/how-to-update-plugin-to-rc-release-candidate-version-from-e2pdf-com.

After upgrade you need to follow current steps:

1. Add line to your wp-config.php:

define('E2PDF_UPLOADS', 'wp-content/uploads2');

2. Copy folder: 'wp-content/uploads/e2pdf' to 'wp-content/uploads2/e2pdf'

Let us know please if it will be any issues.

P.S. Your custom "uploads" folder must be located under 'wp-content' dir.

We remain at your service.
We would really appreciate your feedback at WordPress.org!
12 October, 2021 08:47:34
asandage
Topics: 2
Messages: 4
Thank you!