Author Topic: How to get a file-list from a web-server?  (Read 1055 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
How to get a file-list from a web-server?
« 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.
« Last Edit: January 13, 2017, 05:20:40 AM by Peter2 »
Peter

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

mailmaverick

  • Bull Frog
  • Posts: 493
Re: How to get a file-list from a web-server?
« Reply #1 on: January 13, 2017, 07:25:36 AM »
Please see the following link :-

https://www.theswamp.org/index.php?topic=51824

Peter2

  • Swamp Rat
  • Posts: 653
Re: How to get a file-list from a web-server?
« Reply #2 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 )
Peter

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