contents of web folder

is there a way to do a list folder on a folder that is hosted on my website?

Hi fiftyfour123,

Is the site on your computer (apache Personal Web Sharing)?

gl,

Hi,

if you have FTP access to your server:

property ftpserver : "[url=ftp://ftp.myserver.com/path/to/directory/]ftp.myserver.com/path/to/directory/[/url]"
property user_name : "myusername"
property pass_word : "¢¢¢¢¢¢"
set folderList to do shell script "curl -l " & ftpserver & " -u " & user_name & ":" & pass_word

If the directory doesn’t have a index.html file, you can probably get a listing from the page. If the directory has an index.html and you have access to the computer, then you can configure it to give a listing. You might be able to use an AppleScript to list contents of the directory in a text file and access that file through a page also.

Eeeek, cough-security-threat-cough :smiley:

wow. the FTP thing worked, thanks guys.