Author Topic: Does vla-getremotefile use a TLS-encryption? No repeated download ...  (Read 1259 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
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=13

The 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?
« Last Edit: January 13, 2017, 07:04:11 AM by Peter2 »
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

VovKa

  • Water Moccasin
  • Posts: 1631
  • Ukraine

Peter2

  • Swamp Rat
  • Posts: 653
Re: Does vla-getremotefile use a TLS-encryption? No repeated download ...
« Reply #2 on: January 13, 2017, 11:56:28 AM »
you can try this https://www.theswamp.org/index.php?topic=33750.msg391249#msg391249
Great, thanks - it is fast and not blocking the server (I hope tomorrow too ...).
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23