Re: Storing Images?



Thanks.
Is the FileSystem object of classic ASP only able to work to local file
system?
Is there any built-in .NET class for ASP.NET to access remote file system
directly?
or I need to code a customized class and use it via ASP.NET?

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?



"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:OqFnZ3MKGHA.1028@xxxxxxxxxxxxxxxxxxxxxxx
If store images in file system, is there any limitation of total file
number
in a single folder?

You've got to be kidding. While the answer is, of course, yes, the number
is astronomical. Take a look at your own current file system under
Windows, for example.

Btw, if the web site is a web farm, how to store image to a centralized
file system and retrieve them later?

In a Web Farm, all the servers are part of the same domain. Therefore, you
can use UNC paths to the files, as long as each machine has permission to
access those folders.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"RedHair" <redhair@xxxxxxxxxxxxxxx> wrote in message
news:OiVFXSJKGHA.3200@xxxxxxxxxxxxxxxxxxxxxxx
If store images in file system, is there any limitation of total file
number
in a single folder?
Btw, if the web site is a web farm, how to store image to a centralized
file system and retrieve them later?

Thanks.

"Kevin Spencer" <kevin@xxxxxxxxxxxxxxxxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:On7sva$JGHA.2828@xxxxxxxxxxxxxxxxxxxxxxx
File System. Database is definitely a *lot* harder, not easier, and has
a performance hit.

Generally, if the images need to be catalogued, you can use a database
to store meta-data about the images. Sometimes, however, you can use a
folder and/or naming scheme to store the necessary meta-data.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Who is Mighty Abbott?
A twin turret scalawag.

"Adam J Knight" <adam.jknight@xxxxxxxxxxxxxxx> wrote in message
news:%23HU2kj%23JGHA.2304@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,

Just wondering whats everyones prefered method of storing images ?

1) File System
2) Database (SqlServer) (Seems to be easier, but has a performance hit)

Appreciate some insight!!!

Cheers,
Adam









.



Relevant Pages

  • Re: Storing Images?
    ... in a single folder? ... file system and retrieve them later? ... Btw, if the web site is a web farm, how to store image to a centralized ... Generally, if the images need to be catalogued, you can use a database to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: read vcds in fedora-> cdfs??!
    ... CDfs is a file system for Linux systems that `exports' all tracks and boot ... ISO and boot images), copied, played... ... didierbe at sps dot nus dot edu dot sg ...
    (Fedora)
  • Re: Display images on a webpage
    ... I guess I am curious as to which is better, storing images in a database or using the file system and storing the file information in the database. ... I have googled it and it seems the consensus is to store files on the file system and use action files to display the images using input streams to display the images. ... When I meant reload is if upload a new .war file doesn't is overwrite the folder when I restart tomcat and if my images were in there they would be lost. ...
    (comp.lang.java.programmer)
  • Re: ASP Hotspots
    ... my images are in the file system with the path referenced from an ... Access field. ... They go in the file system and the path to load them is stored ... > in the database. ...
    (microsoft.public.frontpage.programming)
  • Re: [PHP] Re: how to display images stored in DB*
    ... Your claim is that in ALL cases using a file system to store images ... bitmaps in a database without a damn good reason, a bad practice, yes. ...
    (php.general)

Loading