Hi All,
every day, I need to download a file on the internet. The website and filename is fixed.
I use the following code to download file.
I setup a web server to test my coding. I first upload a flower picture named with "test.jpg" to the server.
then I run the macro. It's success to download the file.
but, I replace a dog picture to the test.jpg in the server and run the macro again.
The file in the D Drive is still the flower picture.
I don't know the reason. In fact, I try to use IE to browse the http://test/test.jpg. The flower picture still exist. If I refresh the webpage, the dog picture will appear.
How should I write the code to solve the problem?
Thanks.
Bookmarks