Hi Everyone,
I am trying to connect to Novell Netstorage, and can get file listings for an 
arbitrary folder.

How can I get a folder listing? I've tried the following code to no avail:

// --- START CODE ---
new HttpsURL("https://netstorage/oneNet/netstorage/";);
hrl.setUserinfo("user","pwd");
wdr = new WebdavResource(hrl);

wdr.setPath("/oneNet/NetStorage/Folder1/"); // I know this folder exists and 
has child folders

// The following 3 methods fetch only subfiles of the current path, not folders
WebdavResource[] children = wdr.listWebdavResources(); 
Vector v = wdr.listBasic();
String [] folders = wdr.list();
// --- END CODE ---

I know I'm just missing something in the API because DAV Explorer and the 
novell web interface (which I presume uses WebDAV...) both get folder listings 
correctly.

This seems like a basic operation, but I've been struggling with it for too 
long. Could someone point me on the right track?

Thanks,
Xavier

Swinburne University of Technology
CRICOS Provider Code: 00111D

NOTICE
This e-mail and any attachments are confidential and intended only for the use 
of the addressee. They may contain information that is privileged or protected 
by copyright. If you are not the intended recipient, any dissemination, 
distribution, printing, copying or use is strictly prohibited. The University 
does not warrant that this e-mail and any attachments are secure and there is 
also a risk that it may be corrupted in transmission. It is your responsibility 
to check any attachments for viruses or defects before opening them. If you 
have received this transmission in error, please contact us on +61 3 9214 8000 
and delete it immediately from your system. We do not accept liability in 
connection with computer virus, data corruption, delay, interruption, 
unauthorised access or unauthorised amendment.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to