Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java App to connect to web server and download file

Status
Not open for further replies.

Xerxes01

Programmer
Aug 27, 2007
1
CA
Hi Guys,

I want to develop an application that connects to a web server and downloads a file to local machine. Now first of all I am still debating which language to develop this in. I know Java so I am thinking maybe I would use Java. I would like it to be all automatic, simply clicking a button should go get the file. server username, password can be hard-coded in the code.

Now I am sure people here have developed this kind of application in Java. I am wondering if someone would like to share some code so I can get started on this. I would like to use sftp (if that is available for free) otherwise simply ftp...I have looked online and find several different java files, most of them do not work..

Any help is appreciated.

 
Something doesn't match where: web servers use http, not ftp.

Cheers,
Dian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top