Author Topic: Challenge(?): Integrate WGET to Lisp environment  (Read 3679 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 650
Challenge(?): Integrate WGET to Lisp environment
« on: April 20, 2018, 02:52:47 AM »
Many discussions (some started by me  :whistling:) show that the "download-features" in Lisp are limited and not that easy.
Maybe it is a little bit crazy, because I have no idea about these programming languages, but ...

Wouldn't it be a fine challenge for the ARX / .NET - guys to add (a part of) WGET to the AutoCAd / Lisp-environment?

Would be really great ...
Peter

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

VovKa

  • Water Moccasin
  • Posts: 1626
  • Ukraine
Re: Challenge(?): Integrate WGET to Lisp environment
« Reply #1 on: April 20, 2018, 04:56:52 AM »
Many discussions (some started by me  :whistling:) show that the "download-features" in Lisp are limited and not that easy.
lisp uses standard windows api for downloading so i think it is just fine
what are you missing?

Peter2

  • Swamp Rat
  • Posts: 650
Re: Challenge(?): Integrate WGET to Lisp environment
« Reply #2 on: April 20, 2018, 06:15:47 AM »
I suppose you mean your code here: https://www.theswamp.org/index.php?topic=33750.0

Yes, it works stable, but sometimes slower then vla-getremotefile (which seem to be now absolutely dead under 2019)

WGET has a lot of comfortable feature: retry if fail, write log-file, load from list and so on.
And a lisp-line like

(wget_download -o c:\\temp\\download.log -O c:\\downloads\\test.zip http://www.test.com/mydata.zip)

looks attractive ....
Peter

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

VovKa

  • Water Moccasin
  • Posts: 1626
  • Ukraine
Re: Challenge(?): Integrate WGET to Lisp environment
« Reply #3 on: April 20, 2018, 07:18:07 AM »
I suppose you mean your code here
it is the simplest possible solution
you can improve it and add missing capabilities
i don't think is will be difficult

Peter2

  • Swamp Rat
  • Posts: 650
Re: Challenge(?): Integrate WGET to Lisp environment
« Reply #4 on: October 18, 2018, 05:34:20 AM »
it is the simplest possible solution
you can improve it and add missing capabilities
i don't think is will be difficult
To you see a way to get the "current download progress" with these features?
Peter

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

VovKa

  • Water Moccasin
  • Posts: 1626
  • Ukraine
Re: Challenge(?): Integrate WGET to Lisp environment
« Reply #5 on: October 18, 2018, 07:20:38 AM »
To you see a way to get the "current download progress" with these features?
no