Verifying files exist in server directory as specified in xml doc?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Verifying files exist in server directory as specified in xml doc?

    I think you can try System.IO.File.Exists() method on tle Load event of the
    page.


    "Kathy Burke" <kathyburke40@attbi.com> wrote in message
    news:eglt4MeVDHA.2224@TK2MSFTNGP09.phx.gbl...
    > Hi. Probably not in the right place, but thought I'd throw this one out
    > and see if any ideas come back. I've just got the "vision" of what I'd
    > want to do, but wondering the best/most simple way.
    >
    > I have a fairly simple xml document (workflow) with several <doc>
    > elements that represent .xml docs used by my ASP.NET app. Before
    > releasing the workflow.xml, I'd like to run a little .net page that
    > checks to confirm that the documents exist in the file directory.
    >
    > Any suggestions?
    >
    > Thanks.
    >
    > Kathy
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Onur Bozkurt Guest

  2. Similar Questions and Discussions

    1. Can CF server 5 and CFMX (7) server co-exist on the sameserver?
      Can CF server 5 and CFMX (7) server co-exist on the same server? Thanks for your time
    2. Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
      If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security...
    3. Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
      Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading...
    4. SCO OpenServer 5.0.x -- Exist a command who check a which files are modified, update or change into a directory ?
      SCO OpenServer 5.0.x -- Exist a command who check a which files are modified, update or change into a directory ? Thanks in advance. Francisco
    5. Temporary ASP.NET Files directory (problems related to Terminal Server?)
      We've got a VB ASP.NET Web Service that works fine, except when deployed on a customer's server(which is running Terminal Server, against our better...
  3. #2

    Default Re: Verifying files exist in server directory as specified in xml doc?

    Sorry, I forgot to mention that I'm working on an intranet .net project
    (strictly IE 5.5/6.0), so I hope permissions wouldn't be a problem?

    So would I create a web page to load, just listing the .xml doc names
    pulled from my workflow xml (via xslt). Could you point me in the
    direction of more information for the methods mentioned? (I've never
    used web services...)

    Thanks for the replies.

    Kathy

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Kathy Burke Guest

  4. #3

    Default Re: Verifying files exist in server directory as specified in xml doc?

    Bill,

    thanks very much for the info/help. I'll look into it further.

    Kathy

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Kathy Burke Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139