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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

File Download Automation

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hello

we have an existing web app which text files which are downloaded by the client daily. they later told us that their employees who use this got lazy and wanted to automate this instead.

plan was to send client a local java app that automatically downloads everyday at midnight all text files generated for the day. (http download with file contents as xml strings). my concern here is network related issues. if lets say the contents of 10 files are converted into a large xml string and the string downloaded by the client. You would need to repeat entire download if network fails in the middle of download.

is there a better way of doing this? there are java apis or third party libraries which does it more efficiently?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
This looks very similar to https://coderanch.com/t/639863/Web-Services/java/Web-Services-FTP-HTTP-download; let's continue the discussion in that thread.
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic