Results 1 to 3 of 3

Thread: URLdownloadtofile call the same file in cache

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malayisa
    Posts
    7

    URLdownloadtofile call the same file in cache

    Hi ALL VB fan,

    Using C++ to implement urldownloadtofile to download
    the latest version of file is so easy. API Function ready available.

    But if you implement urldownloadtofile in visual basic, it will always download the same version of file from cache momery.

    Anyone can help me the code to solve this problem.

    Thanks
    TC YU

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    you could possibly try downloading the file, to the local filename, with the date on the end:

    e.g.

    Filename = "c:\update05052001.exe"

    that might stop it from taking it from the cache...


    just an idea, because i was thinking about the IE download resume, which only works, with the same, download path and local path

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Location
    Malayisa
    Posts
    7

    Unhappy

    Like to share with those are interested , i have tried following, it did not work, you can avoid this approach:-
    1. save the file to local drive as name by time such as finamemmddyy.html.
    2. delete all file in cache memory .

    So if anyone have the fail approach, please also post.

Posting Permissions

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



Click Here to Expand Forum to Full Width