Hello unknown (please mention ur name in the end), No matter what u do, it would still be client-server-client tech. P2P will unnecessarily at complexities. Here's a simple logic. 1. user selects the file to be sent. 2. append the sessionid to the file name and store it. (this will ensure that all files on the server are unique even though two different users might upload two different files with same name.) 3. display that a file is available for download when a the user to whom the file is addressed logs in.
Regards Rahul
-----Original Message----- From: linuxers-admin@mm.ilug-bom.org.in [mailto:linuxers-admin@mm.ilug-bom.org.in]On Behalf Of varunm@unitek.com Sent: 06 July 2001 17:36 To: linuxers@mm.ilug-bom.org.in Subject: [ILUG-BOM] some advice please
hello folks, i'm new to your list and find your discussions enriching.
i'm implementing a intranet based general purpose program for communication between users, implemented with jdk1.3/swing.
if i want to enable file transfers between clients logged into the server, which is the better implementation for the actual data transfer?
- p2p - this may not work behind firewalls, with applets - client->server->client - on the same socket - might result in congestion/messy implementation because of mixed file+other traffic - client->server->client - on a dedicated socket.
all ur suggestions are most welcome.
_______________________________________________ Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers