problem with printing out directories

2004-09-15 Thread Chandrasekhar, Preetham
Hi, Is there something wrong with this piece of code? I am trying to print a few directories existing in the local machine, but the piece of code doesnt seem to work. However when the File is given this argument ../ then it works!! File dir = new File(../abc); String[] files = dir.list(

RE: FileUtils question..

2004-09-10 Thread Chandrasekhar, Preetham
at the front of copyFile. Hen On Thu, 9 Sep 2004 15:17:53 -0400, Chandrasekhar, Preetham [EMAIL PROTECTED] wrote: Hi, I am having trouble with accessing the ftp using the FileUtils class in the commons.io package of the Jakarta project. Here's the extract of my code which i assume will make sense

checkings/setting permissions to files and folders

2004-09-10 Thread Chandrasekhar, Preetham
Hi all, I was wondering if there is any utility in the jakarta that allows me to check/set permissions and get these permissions? Also, is there any utility that unzips a zipped file. Ant has this functionality inbuilt but other than ant is there any utility in the commons package? Thanks