Large files Directory

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Large files Directory

Post by superj707 » Thu Mar 31, 2011 3:25 pm

my phpbb board is used for uploading photos. My files dir is becoming VERY large. I don't want to prune images or posts. what should I do?

It's becoming so hard to manage.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50673
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Large files Directory

Post by stevemaury » Thu Mar 31, 2011 3:42 pm

Hard to manage in what way? What do you want to do with it? How many files in it?
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: Large files Directory

Post by superj707 » Thu Mar 31, 2011 4:33 pm

stevemaury wrote:Hard to manage in what way? What do you want to do with it? How many files in it?

30 thousand +
many GB's worth.

It's hard to access, open, move, look at and back up.
FTP crashes to even try and open this dir.

Oleg
Former Team Member
Posts: 1221
Joined: Sat Jan 30, 2010 4:42 pm
Location: NYC
Contact:

Re: Large files Directory

Post by Oleg » Sun Apr 03, 2011 12:05 am

A simple-ish solution is to put each file in a subdirectory whose name is the first two characters of md5 hash of the file name. Generation of subdirectory name should therefore require no additional information.

I created http://tracker.phpbb.com/browse/PHPBB3-10119 to get this fixed in a future version of phpbb.
Participate in phpBB development: Get involved | Issue tracker | Report a bug | Development board | [url=irc://chat.freenode.net/phpbb-dev]Development IRC chat[/url]
My stuff: mindlinkgame.com

Locked

Return to “[3.0.x] Support Forum”