Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.9k views
in Java FTP by (260 points)
Hello all,

Does anyone have any examples of how to navigate through an FTP site in a similar fashion to navigating through directories on a hard drive, using I assume a JChooser dialog box, and display the chosen path in a text field?

Any help is greatfully received.

Thanks

4 Answers

0 votes
by (162k points)
Take a look at the dirDetails() method.
0 votes
by (260 points)
Thanks for the reply Bruce, but I am not sure how I can navigate through using a control such as JChooser???????

The only examples I can find for its use is when it prints the directory structure to the debug window.

Can you please correct or advise me.

Thanks for your help.
0 votes
by (162k points)
Actually looking at the JFileChooser API it looks like it depends on File objects, which obviously won't work for FTP. You might have to write your own chooser.
0 votes
by (260 points)
Thanks for your advise...a little more research needed!!

Categories

...