Hello,

I would like to use Directory class with FTP. I wrote the following code

        Router router = new Router();
        Directory dir = new Directory(getContext(), "ftp://193.190.231.123
");
        dir.setNegotiatingContent(true);
        dir.setListingAllowed(true);
        dir.setDeeplyAccessible(true);
        router.attachDefault(dir);
        return router;

I expected a result as FILE protocole, I mean a HTML representation if I use
my browser. But, instead of a HTML representation, I have something else : a
popup appears to me for asking to save a file.
How can I have a HTML representation using directory with FTP ?

Thanks a lot,
J-Christophe

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2604427

Reply via email to