TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on April 20, 2018, 02:52:47 AM

Title: Challenge(?): Integrate WGET to Lisp environment
Post by: Peter2 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 ...
Title: Re: Challenge(?): Integrate WGET to Lisp environment
Post by: VovKa 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?
Title: Re: Challenge(?): Integrate WGET to Lisp environment
Post by: Peter2 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 ....
Title: Re: Challenge(?): Integrate WGET to Lisp environment
Post by: VovKa 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
Title: Re: Challenge(?): Integrate WGET to Lisp environment
Post by: Peter2 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?
Title: Re: Challenge(?): Integrate WGET to Lisp environment
Post by: VovKa on October 18, 2018, 07:20:38 AM
To you see a way to get the "current download progress" with these features?
no