This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Download Xl file from Sharepoint Using java  RSS feed

 
Sushant Aggarwal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am into MIS Automation project and in that i have to download XL file which User will upload in share point site Using java.
I tried reading data and it is working but have no idea how to download XL file from sharepoint. Can any one please help me or guide me. Thanks in Advance

Regards,

Sushant
 
Sushant Aggarwal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi please help me out someBody....
 
Lester Burnham
Rancher
Posts: 1337
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use an HTTP monitor to observe and record what happens if you download such a file through a web browser. Then duplicate that HTTP conversation using a library like Apache HttpClient or jWebUnit.
 
Sushant Aggarwal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Can i have any example kind of code so what i can start with...
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start by getting the HTTP monitor in place and observing the traffic, so that you're familiar with what you need to replicate.

To get started with one of the HTTP libraries, go to their respective web sites and read the documentation; both have sample code as well.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!