Bookmark Topic Watch Topic
  • New Topic

FTP

 
krish rajini
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi i am on developing FTP Server and Client with using javax.swing for UI.

so when the client and connected with server.The server's particular

directory will be displayed to client in Treeview using JTree.

So my question is tat how to generate the Server directory in client side.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm not sure exactly what you are asking?
Do you want to know how the client requests the server's file structure?
Are you using the actual FTP Protocol? If so, the usual way one does a directory listing is to request the directory the same way one requests a file. The server returns a directory listing rather than a file.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is essentially the same question as this one -where you have multiple answers already-, so let's continue the discussion in that thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!