download file from remote server (web server)

i need java code to download a file fom web server

Page 1 of 1

2 Replies - 2113 Views - Last Post: 23 June 2009 - 07:21 AM Rate Topic: -----

#1 mukeshpatel11  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-June 09

download file from remote server (web server)

Posted 23 June 2009 - 03:45 AM

Can sombody help me out to write a java program to download a text file from web server.
Is This A Good Question/Topic? 0
  • +

Replies To: download file from remote server (web server)

#2 Gasper  Icon User is offline

  • D.I.C Head

Reputation: 13
  • View blog
  • Posts: 66
  • Joined: 29-May 09

Re: download file from remote server (web server)

Posted 23 June 2009 - 04:12 AM

I'd love to help you, but it's against rules. I think you need to provide some code.
Try java socketing. (http://java.sun.com/docs/books/tutorial/networking/sockets/)
Was This Post Helpful? 0
  • +
  • -

#3 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: download file from remote server (web server)

Posted 23 June 2009 - 07:21 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:

Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1