Hello, When we attempt to download the files that users upload during registration, the downloaded files show as 0 bytes and cannot be opened or viewed.
We've seen this kind of issue before. Sometimes it happens depending on server download / security settings. We have a few code snippets that can change how this download process works.
Please try the following:
(A) Add the following PHP code snippet to your site:
Hello,
When we attempt to download the files that users upload during registration, the downloaded files show as 0 bytes and cannot be opened or viewed.
Hello Imran,
We've seen this kind of issue before. Sometimes it happens depending on server download / security settings. We have a few code snippets that can change how this download process works.
Please try the following:
(A) Add the following PHP code snippet to your site:
(B) If the above snippet cannot help solve it, please add the following snippet instead:
This should make the download button go directly to the file in the media library.
Let me know if that can do it,
Kind regards,
Stefan
Thanks Option A seems to be downloading the files correctly for now. Thank you!