Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.8k views
in Java FTP by
On SunOS 5.8
dir(filemask) command returns "filemask: No such file or directory" and not an empty list like with wu-ftpd and ProFTPD.

This occurs in version 1.4.4 and also in earlier versions.

Do i have to parse the first item of the result list, to find out, whether the directory is empty, or is there another possibility?

Any help would be appreciated!
Andreas

1 Answer

0 votes
by (162k points)
You could try dir("dirname", true) and see what that returns - they are different commands.

On SunOS 5.8
dir(filemask) command returns "filemask: No such file or directory" and not an empty list like with wu-ftpd and ProFTPD.

This occurs in version 1.4.4 and also in earlier versions.

Do i have to parse the first item of the result list, to find out, whether the directory is empty, or is there another possibility?

Any help would be appreciated!
Andreas

Categories

...