• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

file transfer between server

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai ranch mates...
I need a small help from you.

Problem:

I am developing an application for my client.He uses two different applications for accounting and processing system on two different servers.
he has the accounting system alreday developed and in production.
now iam developing a processing system for him which involves different actions like
  • Getting the Raw Material
  • processing
  • dispatching

  • In processing we process the raw material and calculate the amount for each item processed dynamically.
    and we store them in some da base or file.
    at the end of each day we want to get all the details related to accounting where the amount calculated above is to be included in the accounting system as the income.
    I have developed a file with all the information to be build in to a file.
    My problem is now to transfer the file from the processing server to the remote server where accounting application is running and get the status of the file transfer and update the database in java.
    i want to transfer the files thru ftp.

    It would be great help for me if any one can come with the different ideas to implement this.
     
    Bartender
    Posts: 1638
    IntelliJ IDE MySQL Database Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    You can look into apache commons net package for FTP client utility.
     
    Bartender
    Posts: 9626
    16
    Mac OS X Linux Windows
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    You can do FTP with the java.net.URL class. See here for an example.
     
    Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
    the value of filler advertising in 2021
    https://coderanch.com/t/730886/filler-advertising
    reply
      Bookmark Topic Watch Topic
    • New Topic