Remittag
2006-05-03 12:14:02 UTC
Dear Tim,
Thanks for your prompt response.
We wish to put forward a query about the issue of the FAT32 File System
limitation of files per folder in our application as follows:-
Background
We are developing a software application targeted at home users (using
Visual Basic 6.0 (for the Front-End GUI) and MS Access (as back-end
database)) that allows a user to build, store, and organize RTF (Rich Text
Format) documents. These RTF documents are stored under a folder named 'Data'
which is generated when our application is installed in the system drive of
the user’s computer.
Query – FAT32 File System limitation of files per folder in our application
While conducting a Stress Test on our application on a computer running on
Windows 98 Second Edition, and having the FAT32 File System, we found that
the 'Data' folder could not hold more than 32,767 files (RTF documents). On
doing some research on this issue, we found out that a directory/folder in
the FAT32 File System can contain upto 65,536 entries (i.e. files). The
reason that the 'Data' folder was limited to 32,767 files could be due to the
fact that each file is taking 2 entries on an average. This issue has put a
restriction on our application in that the user can create only 32,767 files.
For this, we have thought of the following solutions:-
i) In the Minimum System Requirements for using our application, we will
tell the user that he/she should have a computer running on Windows 2000 or
above which have the NTFS File System as it has no limit on the number of
file or subdirectories in a directory. However, we do not feel that this
solution would be feasible as the FAT32 File System is present on most
computers.
ii) We will programmatically create multiple folders under the 'Data'
folder. For example, within 'Data' folder we would have a folder named
something like "1-30000" in which the first 30000 files will be stored. Now
if the user creates the 30001th file, then a new folder named "30001-60000"
will be automatically created under the 'Data' folder, which will store the
next 30000 files and so on. In this manner, our application will have
multiple folders containing 30000 files each. Thus, this would remove the
restriction on our application in that the user can create MORE THAN 32,767
FILES.
We would request you to kindly verify and suggest which of the solutions
discussed above is feasible and should be implemented.
We would look forward to your reply at the earliest.
Regards,
Remittag Team
Thanks for your prompt response.
We wish to put forward a query about the issue of the FAT32 File System
limitation of files per folder in our application as follows:-
Background
We are developing a software application targeted at home users (using
Visual Basic 6.0 (for the Front-End GUI) and MS Access (as back-end
database)) that allows a user to build, store, and organize RTF (Rich Text
Format) documents. These RTF documents are stored under a folder named 'Data'
which is generated when our application is installed in the system drive of
the user’s computer.
Query – FAT32 File System limitation of files per folder in our application
While conducting a Stress Test on our application on a computer running on
Windows 98 Second Edition, and having the FAT32 File System, we found that
the 'Data' folder could not hold more than 32,767 files (RTF documents). On
doing some research on this issue, we found out that a directory/folder in
the FAT32 File System can contain upto 65,536 entries (i.e. files). The
reason that the 'Data' folder was limited to 32,767 files could be due to the
fact that each file is taking 2 entries on an average. This issue has put a
restriction on our application in that the user can create only 32,767 files.
For this, we have thought of the following solutions:-
i) In the Minimum System Requirements for using our application, we will
tell the user that he/she should have a computer running on Windows 2000 or
above which have the NTFS File System as it has no limit on the number of
file or subdirectories in a directory. However, we do not feel that this
solution would be feasible as the FAT32 File System is present on most
computers.
ii) We will programmatically create multiple folders under the 'Data'
folder. For example, within 'Data' folder we would have a folder named
something like "1-30000" in which the first 30000 files will be stored. Now
if the user creates the 30001th file, then a new folder named "30001-60000"
will be automatically created under the 'Data' folder, which will store the
next 30000 files and so on. In this manner, our application will have
multiple folders containing 30000 files each. Thus, this would remove the
restriction on our application in that the user can create MORE THAN 32,767
FILES.
We would request you to kindly verify and suggest which of the solutions
discussed above is feasible and should be implemented.
We would look forward to your reply at the earliest.
Regards,
Remittag Team
--
Remittag Software Company Pvt. Ltd.
Remittag Software Company Pvt. Ltd.