I've seen several topics on this especially in much older versions, but none has been what would answer my use case.
My site is on shared hosting (that won't change this year anyway). My max upload size is 265MB and that won't change according to my provider. Eventually I'll move to a dedicated server.
I have a need to provide a file download (~2GB in size) to certain members. My only way to upload is using FTP. Only myself and one other member will have access to upload those large files. The other member is the creator of those files. Uploading via FTP will not be a problem.
I have created a new folder to house the uploaded file since I wasn't sure where to put that large file. And, since the file was not uploaded through phpBB, there is no ID attached to it so the attachment bbcode won't work (reason for not using /files). There will be only one file at a time residing in that created folder. The file name (containing a version code) will change for each new file upload.
I have a group of forums that is accessible only to certain members. One of the forums is for a topic containing a link to the file download when it becomes available.
Using htaccess, I know I can control access from the outside world, but my attempts at using htaccess has been either blocking everyone (including members) or blocking no one (including the world). I can't seem to find the right combination. My current htaccess has "Require local" but that seems to block everyone. It's been years since dealing with htaccess content, so I'm relearning.
Other than the htaccess file problem, my main question is, where is the proper location to upload that large iso file, and is there a proper way to link to that file?
I've probably left out something, so just ask.
Thanks in advance.
My site is on shared hosting (that won't change this year anyway). My max upload size is 265MB and that won't change according to my provider. Eventually I'll move to a dedicated server.
I have a need to provide a file download (~2GB in size) to certain members. My only way to upload is using FTP. Only myself and one other member will have access to upload those large files. The other member is the creator of those files. Uploading via FTP will not be a problem.
I have created a new folder to house the uploaded file since I wasn't sure where to put that large file. And, since the file was not uploaded through phpBB, there is no ID attached to it so the attachment bbcode won't work (reason for not using /files). There will be only one file at a time residing in that created folder. The file name (containing a version code) will change for each new file upload.
I have a group of forums that is accessible only to certain members. One of the forums is for a topic containing a link to the file download when it becomes available.
Using htaccess, I know I can control access from the outside world, but my attempts at using htaccess has been either blocking everyone (including members) or blocking no one (including the world). I can't seem to find the right combination. My current htaccess has "Require local" but that seems to block everyone. It's been years since dealing with htaccess content, so I'm relearning.
Other than the htaccess file problem, my main question is, where is the proper location to upload that large iso file, and is there a proper way to link to that file?
I've probably left out something, so just ask.
Thanks in advance.
Statistics: Posted by sholzy — Sun May 11, 2025 12:54 am