Solve the problem of heavily nested paths when using MKCOL to create a directory structure with WebDAV.

i.e. store a file under /COMPANYA/2006/08/test.file requires multiple MKCOL commands as Slide needs the parent tree to exist before creating children.

Below is a java method that takes a jakarta WebdavResource and the path (such as "/COMPANYA/2006/08/") and creates the entire tree structure.

CreateDirectoryTreeInJava (last edited 2009-09-20 22:02:47 by localhost)