Hi,
this is krishna i am on developing FTP in java.Here i display the server Files and
client Files in tree view using JTree.So my question is that once the client send
the file to server (or) server send the file to client.The new file(or) folder should be
added as a node in Jtree.After clicking refresh option in pop up.The tree is not get
updated.Here i am using Default...
User Profile
Collapse
-
Refreshing and updating JTree.
-
Here for Asynchronous File transfer you need to create two threads one for reading thread and Writing thread in both client and server.
when server accept the client socket it must assist the client with these two threads.
i am a java developer so i will show u some example in java itself.
public static void main(String args[])
{
ServerSocket soc=null;
try
{
soc=new ServerSocket(66 00);...
No activity results to display
Show More
Leave a comment: