TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Peter2 on January 13, 2017, 05:03:45 AM

Title: How to get a file-list from a web-server?
Post by: Peter2 on January 13, 2017, 05:03:45 AM
Hi

thanks to your hints I could use the getremotefile-feature  :-) (although our server seems to have a timeout-locking after first download .. ??)

Other question:
Is it possible to list all files on a web-server? Like

Code: [Select]
dir *.* \\myserver\myfolder
EDIT:
I'm not full of hope - standard reply in postings is:
http://stackoverflow.com/questions/6989681/getting-a-list-of-files-on-a-web-server
You'd need the server to be willing to give you a page with a listing on it. This would normally be an index.html or just ask for the directory.
Title: Re: How to get a file-list from a web-server?
Post by: mailmaverick on January 13, 2017, 07:25:36 AM
Please see the following link :-

https://www.theswamp.org/index.php?topic=51824 (https://www.theswamp.org/index.php?topic=51824)
Title: Re: How to get a file-list from a web-server?
Post by: Peter2 on January 13, 2017, 12:01:15 PM
Thanks.
It seems there is "no one-line-solution" (use wget / use BAT with wscript / external tools / file with file-list as text )