BBC BASIC for Windows
General >> General Board >> Getting folder contents on a website
http://bb4w.conforums.com/index.cgi?board=general&action=display&num=1404210584

Getting folder contents on a website
Post by GlenMcInnis on Jul 1st, 2014, 10:29am

Does anyone know how to get the file and folder names of a known folder on a website without using a text file or .html to hold the structure? I have a website wherein I want to load in a directory tree for selection by my users.

Thank You.
Re: Getting folder contents on a website
Post by rtr on Jul 1st, 2014, 11:26am

on Jul 1st, 2014, 10:29am, GlenMcInnis wrote:
Does anyone know how to get the file and folder names of a known folder on a website without using a text file or .html to hold the structure?

So long as the website is running an FTP server, for which you have the login credentials, you can use the method described here:

http://bb4w.wikispaces.com/Listing+files+on+an+FTP+server

Richard.