2 Replies - 237 Views - Last Post: 19 January 2013 - 01:27 PM Rate Topic: -----

#1 mtoffolo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 19-January 13

Saving a spreadsheet from a URL and opening it as a text file

Posted 19 January 2013 - 12:05 PM

I need to download a spreadsheet from a URL (for example http://ichart.financ...8&ignore=.csv). I then want to open this file as a text file in my program so that I can read the historical prices of the stock. At the moment, I have saved the prices into a text file myself and am able to read from this, however this would involved me keep updating it manually myself to get the updated prices.

Any help would be much appreciated.

Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: Saving a spreadsheet from a URL and opening it as a text file

#2 NathanMullenax  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 83
  • View blog
  • Posts: 176
  • Joined: 23-September 12

Re: Saving a spreadsheet from a URL and opening it as a text file

Posted 19 January 2013 - 01:19 PM

Probably use an HttpURLConnection.

http://docs.oracle.c...Connection.html
Was This Post Helpful? 0
  • +
  • -

#3 mtoffolo  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 19-January 13

Re: Saving a spreadsheet from a URL and opening it as a text file

Posted 19 January 2013 - 01:27 PM

View PostNathanMullenax, on 19 January 2013 - 01:19 PM, said:

Probably use an HttpURLConnection.

http://docs.oracle.c...Connection.html



I will have a look. Thank you for your response
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1