Results 1 to 6 of 6
  1. #1
    mshanthosh is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

    Default Server for storing the XML files

    Hi,

    Iíve the following requirement. A centralized server needs to be established using java code. The serverís responsibility is receiving the status of the each client machine as a XML file and storing it in the serverís disk space. The client machine also runs the java code to send the status to the server as an XML file in a daily basis. Iíve planned to create a SOAP webservice in server machine and client machine will invoke the soap webservice to send the status. Do I have to establish any FTP server for storing the XML files? Is there any other better solution for this requirement?

    Do I have to establish any FTP server for storing the XML files?

    Thanks
    Santhosh

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Server for storing the XML files

    You would need an FTP server to transfer the files somewhere else - I mean that's what the File Transfer Protocol is for. But you only want to store the files on the local filesystem don't you?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    mshanthosh is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

    Default Re: Server for storing the XML files

    Quote Originally Posted by gimbal2 View Post
    You would need an FTP server to transfer the files somewhere else - I mean that's what the File Transfer Protocol is for. But you only want to store the files on the local filesystem don't you?
    Hi,

    Thanks for your reply. yes, I only want to store the xml files on the local filesystem.

    Do you know what are the open source FTP servers available?

    The FTP servers should be accessible from the client machine using Java for transferring xml files.

    Thanks
    Santhosh

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,182
    Rep Power
    20

    Default Re: Server for storing the XML files

    I don't think you understood gimbal.
    He's saying that you don't need FTP if it's going to sit on the same server you are hosting your SOAP web service.

    The client will simply pass the file to the web service, which will then save it on the server.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Server for storing the XML files

    A good idea would be to actually go read what the FTP protocol is used for. Wikipedia probably has a very good explanation of it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  6. #6
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,733
    Blog Entries
    7
    Rep Power
    21

    Default Re: Server for storing the XML files

    The OP wrote 'webservice' a couple of times; that noun brings up associations with the http protocol and its file upload stuff (that silly 'method="post" and enctype="multipart/form-data"' stuff); why add another protocol to the mess?

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Is there a neat way of storing program files?
    By ozzyman in forum New To Java
    Replies: 5
    Last Post: 04-01-2011, 03:21 PM
  2. storing date from servlet to sql server
    By KumbhaniMehul in forum Java Servlet
    Replies: 1
    Last Post: 04-11-2010, 02:01 PM
  3. Storing video files in mysql database
    By mrvigneshmca in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 09-27-2009, 04:50 PM
  4. Storing Files
    By superwaxer in forum Advanced Java
    Replies: 6
    Last Post: 05-07-2009, 03:37 PM
  5. Storing and Retrieveing Data Using XStream & xml Files
    By geeeeky.girl in forum New To Java
    Replies: 0
    Last Post: 01-04-2009, 11:24 PM

Tags for this Thread

Posting Permissions

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