Results 1 to 3 of 3
  1. #1
    wildheart25c is offline Member
    Join Date
    Sep 2009
    Posts
    13
    Rep Power
    0

    Default java application connecting to a server

    I don't know how or where to start so ill present you with a scenario and hopefully youll tell me how i can do this using java.
    i start my java application. the application manages pictures. lets say i change the name of hte picture or even edit the pic itself. then i press upload. a small pop up window appears asking me to enter my login info. i do so and press CONNECT. the application connects me to a server and uploads the picture to it.
    thts it.
    how do i do this? i already wrote the code that handles the pictures. searching sorting etc. but how do i do the connection part. the server is a new pc that ill b buying next week. ill read on how to turn a pc to a server. but after that im totally clueless.
    Help?

    i didnt no where to post this. i dont think im 'new' to java but im definitely no advanced user either.

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

    Default

    You could setup an FTP server and transfer files via FTP:

    Java FTP client libraries reviewed - JavaWorld

    Or you send data files via a Socket Connection and store them in a database.
    My Hobby Project: LegacyClone

  3. #3
    wildheart25c is offline Member
    Join Date
    Sep 2009
    Posts
    13
    Rep Power
    0

    Default

    heeeey ftp i didnt think of that. ok now i got a lot more to ask you if you plz. can we talk online? check ur pm thanx a bunch

Similar Threads

  1. Connecting to Server Application
    By andre1011 in forum Networking
    Replies: 1
    Last Post: 10-29-2009, 07:29 AM
  2. connecting a java application to a DB in netbeans
    By kulangotski in forum Advanced Java
    Replies: 4
    Last Post: 03-22-2009, 09:58 AM
  3. Connecting To SQL Server
    By rmaadil in forum JDBC
    Replies: 7
    Last Post: 08-20-2008, 05:53 PM
  4. Connecting to a Web server
    By Java Tip in forum java.net
    Replies: 0
    Last Post: 04-07-2008, 07:57 PM
  5. Java connecting to sql server 2005
    By pelegk2 in forum JDBC
    Replies: 0
    Last Post: 04-05-2008, 09:17 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
  •