Daniel Glazman wrote:
Simple question, difficult answer apparently: can I browsean FTP
directory from JS ?

</Daniel>



JS with chrome privileges? If so, then yes. Just create a necko channel for your URL, QI the channel to nsIDirectoryListing, and
specify that you want FORMAT_HTTP_INDEX, which you can easily parse
yourself or feed through a nsIDirIndexParser instance. configure this prior to calling asyncOpen.


darin

_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to