Hi,
I tried out something and everything works fine for me now.
i gave
ftp.chdir('Documents and settings');
FTPFile[] files = ftp.dirdetails(null);
Now this gives the details of all the files and folders under 'Documents and settings'. Though this solves my problem, i think
FTPFile[] files = ftp.dirdetails(ftp.pwd());
really has some problems.
thanks for the support
regards,
vinothk