I changed my download-code from
- "MSXML2.XMLHTTP" /
http://www.cadtutor.net/forum/archive/index.php/t-38453.html to
- vla-getremotefile /
https://www.theswamp.org/index.php?topic=13The first solution was really slow (the write-to-file section), but could be repeated again and again.
The second code is very fast, but after second download the server blocks all requests to the same file. I can reach the file with Browser and FTP and TotalCommander (FTP too), but vla-getremotefile is blocked for a while.
It happens also with the original code with the original test-link to the swamp.
Attention: when you test the script, take care to delete the downloaded file from IE-cache after first test. Otherwise it will copy the cached file again and again.
Our provider says that "a TLS-encrypted request causes a timeout" and I should use SFTP.
I have no idea about it - anyone else who has problems with blocked requests?
EDIT:
After every reboot of my PC I can download the file again; but without a reboot the file stays locked. Maybe the IP is locked?