i'd agree with others that its easier to send the file directly to another client and the client ask the user where to save it afterwards
open a file at the selected location and write the received byte stream to it
you can send the file/byte stream via client -> client or client -> server -> client, its a uni project so the efficiency won't matter as much rite ?
to do it via ftp, you only need 1 ftp server, each client that wants to send a file will connect to the ftp server and upload the file, notify the destinated client and the client will connect to the ftp, download it.
This post has been edited by asc2: Feb 8 2006, 09:31 AM
[Java] Need some opinion, Instant messenger
Feb 8 2006, 09:30 AM
Quote
0.0133sec
1.76
6 queries
GZIP Disabled