Article View: borland.public.jbuilder.java.language
Article #409Re: Download a file from an internet location
From: Kevin Dean [TeamB]
Date: Fri, 22 Jul 2005 11:44
Date: Fri, 22 Jul 2005 11:44
28 lines
1921 bytes
1921 bytes
Thomas Arend wrote: > what I am trying to do in java is to download a file from a certain > url. The method I have come about is to use the undocumented > sun.net.ftp class. But is there any standard method in java that is > documented? > > Would be even more pleased to get some sample code for that. Your best bet would be Commons Net from the Jakarta project: http://jakarta.apache.org/commons/net/ Sample code is available all over the place. Search Google for: jakarta commons net sample code -- Kevin Dean [TeamB] Dolphin Data Development Ltd. http://www.datadevelopment.com/ NEW WHITEPAPERS Team Development with JBuilder and Borland Enterprise Server Securing Borland Enterprise Server http://www.datadevelopment.com/papers/index.html Please see Borland's newsgroup guidelines at http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<xn0e51kzp24ti5001-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42e013d5$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,eeb7e3c1cfc0a64
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Download a file from an internet location
Newsgroups: borland.public.jbuilder.java.language
References: <42e013d5$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.5.7
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobrp]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e51kzp24ti5001-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:00000277
NNTP-Posting-Host: 24.57.153.235
Date: 22 Jul 2005 04:44:09 -0700
X-Trace: newsgroups.borland.com 1122032649 24.57.153.235 (22 Jul 2005 04:44:09 -0700)
Lines: 28
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail