Hi RedHair,
Is the FileSystem object of classic ASP only able to work to local file
system?
Use the classes in the System.IO namespace. This includes Directory,
DirectoryInfo, File, FileInfo, and a number of others.
Btw, even we have a separate centralized file server for file storage
only, when
the number of directories and files grow up very large, the disk I/O is a
issue, how
to solve this problem? add new file server and distribute all files to all
file servers
equally?
Where do you think your database stores data? In the file system. Therefore,
if you're going to have enough files and folders in the file system to slow
down the disk I/O, it would have a similar (but worse) effect on a SQL
Server.
Now, SQL Server uses memory for caching, which cuts down on IO usage. But if
you were accessing enough files on the disk to cause an IO issue, the SQL
Server would have either memory issues, due to the caching of these image
files, or, if the memory is throttled down, IO issues, or both.
So, all things being equal, I would still recommend using the file system.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Who is Mighty Abbott?
A twin turret scalawag.