Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
5.6k views
in Java FTP by
Hello.

I have the following problem:

With the help of edtftp I want my program to interact with a ftp server implementation, that seems to not support the "dir <directory-string>" command. So I see no way to use the dirDetails(dirstring) - command of edtftp's FTPClient class. Because this command seems to use a dir <directory> - call on the remote server, which always returns an empty field.

What I would need is a dirDetail() - command which parses the CURRENT pwd on the ftp server and does not need an argument.

Does anyone know how to solve this problem?

Thank you.
Peter.

1 Answer

0 votes
by (162k points)
Are you sure it isn't supported? The relevant server commands are LIST and NLST. It would be extremely unusual if these weren't supported.

Hello.

I have the following problem:

With the help of edtftp I want my program to interact with a ftp server implementation, that seems to not support the "dir <directory-string>" command. So I see no way to use the dirDetails(dirstring) - command of edtftp's FTPClient class. Because this command seems to use a dir <directory> - call on the remote server, which always returns an empty field.

What I would need is a dirDetail() - command which parses the CURRENT pwd on the ftp server and does not need an argument.

Does anyone know how to solve this problem?

Thank you.
Peter.

Categories

...