Results 1 to 3 of 3
Thread: Project that resembles DropBox
- 09-14-2011, 09:01 PM #1
Project that resembles DropBox
I'm looking to create an application that resembles DropBox for a school network. I hope that someone can tell me whether or not I am thinking on the right lines to solve my problem and point me in the right direction if what i am proposing is not possible (or can be improved).
If a file is placed in a particular directory (e.g. C:\Users\RandomName\DropFolder) then a pop up will occur. The user can then select the user they wish to transfer the file to. Confirmation would be required by the user receiving the file and it will automatically save it into a directory (e.g. C:\Users\OtherName\ReceivedFiles). It will send the file over sockets. The main bit I am concerned with is how I'm going to make it so that the sender can select a user. Is it possible for me to keep a log of those currently connected to the school network which stores their IP address for transferring the file via sockets and the user that is logged on to that computer. This will be done by every machine but will be hidden from the user (all they will see is which users they can send the file to). What type of file will i use to store this log? I will use multithreading so that I can do this as well as transfer files and listen for connections.
So is this possible? Is there a better way of doing it? But more importantly, how would i do the user section of the project that i have explained?
Thanks in advance,
- 09-17-2011, 01:35 AM #2
Re: Project that resembles DropBox
Sounds like an interesting project. Now with java 1.7's nio classes you can detect when a file is added to a folder.
The rest of it sounds like a modified version of a chat application with different rules about which users are listed for sending files to.
- 09-17-2011, 01:42 AM #3
- By jiapei100 in forum New To JavaReplies: 0Last Post: 06-08-2011, 11:01 AM
- By cucucur in forum Advanced JavaReplies: 1Last Post: 04-26-2011, 03:21 PM
- By Seijuro in forum NetBeansReplies: 4Last Post: 08-08-2010, 11:15 AM
- By itaipee in forum EclipseReplies: 1Last Post: 12-28-2008, 09:12 PM