|
-
March 27th, 1999, 01:34 AM
#1
FTP problem
I have an FTP client server program written in java, both the server and the client are classes that are runnable. The FTP server keeps listening and when a client connection is established, a new class FTPReceiver is created and run in a different thread with the new socket obtained from the connection, while the ServerSocket continues to listen. This FTP program is working fine.
I wanted do an FTP in another client- server program. So I ran the FTP server class in a thread and tried to carry out the FTP by starting the FTP client in a thread from the counterpart program. But this doesn't seem to work. The first 9140 bytes of the transfer gets lost somewhere. But if I start the FTP client in a new process rather than a thread, it works fine. I am unable to figure out the problem. Can anyone help me.
JAIKISH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|