M
MichiMichi
My asp.net application has a directory which is filled up with over 17
files (email) a second. After a while this sums up into a huge amount
of files.
I usually count files with the GETFILES method. This works perfectly
of there are only a few hundert files in the folder
*********
.....
Dim files() As String
files = IO.Directory.GetFiles(mycontext.Server.MapPath(".\myFolder
\"), "*")
.....
*********
When my application goes offline than it can happen that over 200,000
files are waiting in the folder to be processed.
The method GETFILES does not work anymore. There are just to many
files. I can wait for hours any nothing happens.
Is there a better method to count files inside a folder for ASP.NET
2.0?
files (email) a second. After a while this sums up into a huge amount
of files.
I usually count files with the GETFILES method. This works perfectly
of there are only a few hundert files in the folder
*********
.....
Dim files() As String
files = IO.Directory.GetFiles(mycontext.Server.MapPath(".\myFolder
\"), "*")
.....
*********
When my application goes offline than it can happen that over 200,000
files are waiting in the folder to be processed.
The method GETFILES does not work anymore. There are just to many
files. I can wait for hours any nothing happens.
Is there a better method to count files inside a folder for ASP.NET
2.0?