The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

This topic is READ ONLY
import-bot (20211) [Avatar] Offline
#1
[Originally posted by cjacobs]

Hi,

I am developing a simple FTP program. I want to be able to display the remote
host directory tree using the swing components. The JTree and JTable (and the
combination of the two) articles on the Swing connection website has helped me
enormously in developing a "TreeTable" to display my local hard drive
directory tree. However, I am not to sure how to display the remote host
directory tree.

I am hoping that the underlying principles that I used to display my local
hard drive are same principles I would use to display the remote host
directory tree. At least to some extent.

Is there specific commands I can send to the remote host to get information
about its' directory tree?

I am hoping that someone has done this befor. smilie

Any references or suggestions would be greatly appreciated.
import-bot (20211) [Avatar] Offline
#2
Re: Displaying a remote host directory tree
[Originally posted by matt]

Take a look at the FTP client application in chapter 13 here:
http://www.spindoczine.com/sbe

You also might want to do a search at JARS as there are probably several
freely available Java FTP clients that have done what you are trying to do.