Web Servers General Talk - number of files inside a directory

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > June 2006 > number of files inside a directory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author number of files inside a directory
julian_m

2006-06-10, 1:31 am

Is there any limit in the number of files inside a directory?
I'm writing a web site which will use a lot (>10000) of images. All
those images will be stored inside a unique directory (say
public_htm->images).
I'm wondering whether there will be any kind of problem...
What do you think?

regards - julian

D. Stussy

2006-06-12, 1:38 am

On Sat, 9 Jun 2006, julian_m wrote:
> Is there any limit in the number of files inside a directory?
> I'm writing a web site which will use a lot (>10000) of images. All
> those images will be stored inside a unique directory (say
> public_htm->images).
> I'm wondering whether there will be any kind of problem...
> What do you think?
>
> regards - julian


No limits imposed by web servers. However, check your operating system.
dk_sz

2006-06-12, 1:29 pm

> I'm wondering whether there will be any kind of problem...
> What do you think?


No problem in my experience... However, if you have
code that need to iterate all files in a directory... Well...

Depends on how often you need to do so, if you need
to open all files etc. But in and by itself, there should
IMO be no problems having 10,000 + files in a directory.


--
best regards
Thomas Schulz
http://www.micro-sys.dk/products/sitemap-generator/
http://www.micro-sys.dk/products/website-download/


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com