TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on January 06, 2017, 10:13:26 AM

Title: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 06, 2017, 10:13:26 AM
Who can recommend an "Updater-software" for Lisp / OpenDCL / DosLIB apps which should to what an Updater does:

It should be Standalone and open-source.
I'm sure there a some apps for it, but also good experience with AutoCAD / Lisp would be fine.

Have a fine weekend!
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: BIGAL on January 08, 2017, 04:25:16 PM
I am basing this on a Autocad solution, you can open a remote server and do normal file stuff so you could check versions on pc and download / replace. I will try to find an example for you, it was posted at Cadtutor as the poster wanted to do the same thing.
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: BIGAL on January 08, 2017, 09:06:55 PM
Start here http://www.cadtutor.net/forum/archive/index.php/t-38453.html
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 09, 2017, 06:08:34 AM
@BIGAL

thanks, I will check it.
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 10, 2017, 01:57:21 PM
Hi @BIGAL

the software works fine, but the code (see entire code in the link above)

Code: [Select]
(foreach byte tbl
    (vlax-invoke fic 'write (vl-list->string (list byte))) ; Bits to String
)

is rather slow. It is not really urgent, but any ideas to increase the speed?

Thanks and regards

Peter
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: roy_043 on January 10, 2017, 02:35:28 PM
What is the reason for not using vla-getremotefile?
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 10, 2017, 02:46:40 PM
No specific reason - I started with the linked code, this area is new for me ...
Every good / better / faster solution is appreciated.
(Interesting: there are no postings with vla-getremotefile here, except of this thread)
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Lee Mac on January 10, 2017, 04:17:33 PM
You might be interested in these threads:

https://www.theswamp.org/index.php?topic=43221
https://www.theswamp.org/index.php?topic=15188.msg185371#msg185371

(Interesting: there are no postings with vla-getremotefile here, except of this thread)

Examples which use the getremotefile method:

https://www.theswamp.org/index.php?topic=13
https://www.theswamp.org/index.php?topic=48729.msg538421#msg538421
https://www.theswamp.org/index.php?topic=41820.msg469407#msg469407
Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 10, 2017, 04:39:55 PM
Thanks Lee, for the links. There are some fine solutions  :-)

Title: Re: Wanted - "Updater" software, standalone, open source
Post by: Peter2 on January 13, 2017, 11:58:02 AM
Hi

at the end I used this (See other topic for my problems with other solutions):
https://www.theswamp.org/index.php?topic=33750.msg391249#msg391249