Posted on 2008-11-11
Last Modified: 2012-06-22
I am using XMLDOM to open and read the nodes of an XML documents on a remote server.

The names of the files are based on the date.  

But it is doing something weird.  If I try to open a file named "xxx20080902" and it is not there it is opening "xxx20080920".  Any idea why?

Can I check for the files existence before trying to open using XMLDOM?
Question by:bnields
    1 Comment
    LVL 14

    Accepted Solution

    This is the command to check to see if the file exists.
    Set filesys = CreateObject("Scripting.FileSystemObject") 
    If filesys.FileExists("c:\somefile.xml") Then
        'File Found
        'File not found
    End If 

    Open in new window


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction HyperText Transfer Protocol ( or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
    New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
    This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
    Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now