Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
9.1k views
in CompleteFTP by
Hi,
Commands like FTPClient.dirDetails("....", false), FTPClient.dir(), FTPClient.dir("...") doesnot fetch me the list of filenames. Permission denial exception.
However, if i user FTPClient.dirDetails("....", true) lists the entire detail which i am really not interested in.

I was able to login to IIS FTP server and view the files using this user. I dont really think there are any permissions missing for this user on the system.

suggestions appreciated.

Travis

1 Answer

0 votes
by (51.6k points)
Yes, this seems to be a bug in ProFTPD, which is basically what edtFTPD is. When you use dir("....", false) FTPClient issues an NLST command, which is supposed to return a list of file-names and nothing else. When you do this the server returns "450: Permission denied", which is incorrect. There's discussion on this problem on the proftpd mailing list - here.

I suggest just using dirDetails("..."). The overhead is fairly small.

- Hans (EDT)

Categories

...