QUESTION: How to get a remote directory file listing from a web site
Signe Marie Sanne
signe.sanne at roman.uib.no
Tue Oct 5 03:19:27 EDT 2004
Try with "www." before thePath
>When I run this from the message box
>
>put
>("crosbystillsnash.com/content/TOURS/CSN2K4/_galleries/20040913_Pechanga/large/")
>into thePath
>put "user:password" into userpass
>put "ftp://" & userpass & "@" & thePath into temp
>put URL temp
>put the result into tr
>if tr is not empty
>then
> put "RESULT" && tr
>end if
>
>--- I get this error -
>
>
>RESULT error 550
>/content/TOURS/CSN2K4/_galleries/20040913_Pechanga/large: No such file or
>directory
>
>the URL is good; copied and pasted from a browser (this is my own site)
>
>
>
>Am I specifying the URL incorrectly? Is there a better way ? I just need a
>simple listing.
>
>When I use it with URL http, I get html of course. Is the only way to get
>an HTTP directory is by parsing the below?
>
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
>
>
>Index of /content/TOURS/CSN2K4/_galleries/20040913_Pechanga/large
>
>
>
>
>Name Last
>modified Size Description
>
>----------
>
>
>
> Parent
>Directory 19-Sep-2004 23:18 -
> <PICT4661.htm>PICT4661.jpg 19-Sep-2004 23:16 46k
> <PICT4663.htm>PICT4663.jpg 19-Sep-2004 23:16 44k
> <PICT4664.htm>PICT4664.jpg 19-Sep-2004 23:16 52k
> <PICT4666.htm>PICT4666.jpg 19-Sep-2004 23:16 50k
> <PICT4668.htm>PICT4668.jpg 19-Sep-2004 23:16 57k
> <PICT4674.htm>PICT4674.jpg 19-Sep-2004 23:16 49k
> <PICT4677.htm>PICT4677.jpg 19-Sep-2004 23:16 58k
>
>----------
>
>thanks in advance
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution
1. amanuensis Signe Marie Sanne e-mail: signe.sanne at roman.uib.no
Romansk Institutt tel: +47 55 58 21 27
Øisteins gt. 1
5007 Bergen http://www.hf.uib.no/hfolk/mlab/Info/sms.html
Norway
More information about the use-livecode
mailing list