+ Reply to Thread
Results 1 to 2 of 2

Downloading multiple .csv files from same website?

  1. #1
    Registered User
    Join Date
    10-15-2012
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1

    Downloading multiple .csv files from same website?

    Hi,

    I need to download multiple files from the same website, with file names based on the date. Currently, I'm simply looping through the dates using the URLDownloadToFile function.

    However, the problem is, the website sometimes posts updated files, so the original file would have a name like 20121004.csv and the new files would have names like 20121004_updated.csv and 20121004_updated2.csv, and the original, older versions are all still there. The updated files are rare, and the updated2 files are even rarer, but I need to be able to detect and download the extras. Currently, the only way I can think of is to have my loops keep going, and if a day has an _updated version, have it then check for an _updated2 version, and so on and so forth.

    Is there by any chance some way I can do it more efficiently? Or, download multiple files? Like every file for a particular month (...201210*)?

    Best regards.

  2. #2
    Registered User
    Join Date
    10-24-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Downloading multiple .csv files from same website?

    Hi

    Even i am looking for same example. But i want to download all the files. when i clicked the button.

    Could you please share your sample file, so it will be helpfull.

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1