Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2011
    Posts
    30
    Rep Power
    0

    Default 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,

    Regards Serb.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,883
    Rep Power
    25

    Default 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.

  3. #3
    Join Date
    Jul 2011
    Posts
    30
    Rep Power
    0

    Default Re: Project that resembles DropBox

    Ok thanks for your help, I will look into Java 1.7's nio classes.

Similar Threads

  1. How to convert from Ant project to maven project?
    By jiapei100 in forum New To Java
    Replies: 0
    Last Post: 06-08-2011, 11:01 AM
  2. add jar to my project
    By cucucur in forum Advanced Java
    Replies: 1
    Last Post: 04-26-2011, 03:21 PM
  3. Adding a project to an existing project
    By Seijuro in forum NetBeans
    Replies: 4
    Last Post: 08-08-2010, 11:15 AM
  4. open existing project project ..
    By itaipee in forum Eclipse
    Replies: 1
    Last Post: 12-28-2008, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •