Check to see if Virtual Directory exists

Discussion in 'ASP .Net' started by Pgar, Nov 15, 2004.

  1. Pgar

    Pgar Guest

    I have a page that I have the users uploading files from their local
    machines. I take these files strip off their path and redirect it to a
    new file on the web server. I have a virtual directory mapped to a
    remote machine that has files in it named for the years for items that
    the users are uploading supporting documents (i.e. 2003, 2004, etc.) I
    want to check to see if the folder for a specific year exists in the
    Virtual Directory. Is there a way to accomplish this? In short I want
    to verify that a file exists in the Virtual Directory on the web
    server.

    Thanks all,
    PGar
     
    Pgar, Nov 15, 2004
    #1
    1. Advertisements

  2. Pgar

    Guest Guest

    Guest, Nov 15, 2004
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.