FileSystemObject

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Singularity.co.uk

    FileSystemObject

    Hi

    Does anyone know if the FileSystemObjec t supports testing if a file exists
    when you use the following path:

    \\ServerName\Fo lderName\ImageN ame.jpg

    Or does it have to be that the server is mapped to the current server so
    that the path would be:

    \\F:\FolderName \ImageName.jpg

    This problem relates to my site having to display some images which are
    located on a second server from that of the one the site is being hosted on
    and so far the only way I can get this to work is by the second option. This
    would be great, except the path comes from a database field which contains
    the first option.

    Thanks

    Brendan


  • Leon Langleyben

    #2
    RE: FileSystemObjec t

    Hi,
    Why FileSystemObjec t?
    Why don't you use one of File.Exists or FileInfo.Exists methods?
    --
    Leon Langleyben
    MCSD



    "Singularity.co .uk" wrote:
    [color=blue]
    > Hi
    >
    > Does anyone know if the FileSystemObjec t supports testing if a file exists
    > when you use the following path:
    >
    > \\ServerName\Fo lderName\ImageN ame.jpg
    >
    > Or does it have to be that the server is mapped to the current server so
    > that the path would be:
    >
    > \\F:\FolderName \ImageName.jpg
    >
    > This problem relates to my site having to display some images which are
    > located on a second server from that of the one the site is being hosted on
    > and so far the only way I can get this to work is by the second option. This
    > would be great, except the path comes from a database field which contains
    > the first option.
    >
    > Thanks
    >
    > Brendan
    >
    >
    >[/color]

    Comment

    Working...