Results 1 to 4 of 4
  1. #1
    cbn20 is offline Member
    Join Date
    Nov 2009
    Posts
    2
    Rep Power
    0

    Post File -Server Protocol

    Hi guys, can someone here help me out please? i have these specifications i wish to implement.
    1. a File-Server Protocol that
    -Connect to a remote machine, with or without exchanging a password (as
    chosen by the server).
    -Change directories on the local and the remote machine. List the content of
    the current directory on the local and on the remote machine.
    -Get a file from the current directory of the remote machine and store it in the
    current directory of the local machine.
    -Put a file from the current directory of the local machine and store it in the
    current directory of the remote machine.

    There should be a Client and Server class that support.....
    -passwd: sent by the server requests a password from the client upon login.
    -passwd pw: sent by the client supplies the password pw to the server.
    -rcd name: changes the remote current directory to name
    -lcd name: changes the local current directory to name
    -lls: list local directory
    -rls: list remote directory
    -put name: takes the local file name and loads it to the remote server in the -remote current directory
    -get name: gets the remote file name and loads it to the local server in the -remote current directory
    -exit closes the client (but not the server)

    Any idea will be well appreciated.

  2. #2
    mrmatt1111's Avatar
    mrmatt1111 is offline Senior Member
    Join Date
    Aug 2009
    Location
    San Jose, CA, USA
    Posts
    320
    Rep Power
    6

    Default

    The sounds a lot like FTP... you might look up java FTPClient libraries.
    My Hobby Project: LegacyClone

  3. #3
    cbn20 is offline Member
    Join Date
    Nov 2009
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by mrmatt1111 View Post
    The sounds a lot like FTP... you might look up java FTPClient libraries.
    yes it is indeed but i have no idea how to implement it for a start. Could you please be of any help?

  4. #4
    darknight is offline Member
    Join Date
    Nov 2009
    Posts
    1
    Rep Power
    0

    Default It can sake upt to 3 weeks to develop a hand written FTP Client server.

    Escpecially if you are a student, who is not so keen on java

    Maybe you should ask Martin Berger.....

    or check out this great page at
    w w w . informatics . sussex . ac . uk / courses / mct
    How to build your own FTP client in java in 5 easy steps[/URL]
    Last edited by darknight; 11-21-2009 at 08:26 PM.

Similar Threads

  1. unsupported protocol
    By shiva in forum New To Java
    Replies: 1
    Last Post: 04-09-2009, 10:20 AM
  2. x modem protocol
    By jithan in forum New To Java
    Replies: 0
    Last Post: 08-21-2008, 11:43 AM
  3. Does any file in an FTP server ends up in an HTTP server?
    By islamfunny in forum CLDC and MIDP
    Replies: 4
    Last Post: 08-15-2008, 05:30 PM
  4. New Protocol?
    By lada.r in forum Networking
    Replies: 0
    Last Post: 11-06-2007, 10:13 PM
  5. how to use SIP protocol
    By katie in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 11:22 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
  •