🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1337

How to download via HTTP a file in java ?

#1337
From: Laurent Souriau
Date: Mon, 11 Mar 2002 16:58
15 lines
1415 bytes
        hi,


I would like to know if it is possible to :

- check existence of a  file on a  client side

- download this file on the  client PC via http
with java instructions ?

If yes, how do you do it ?

Thank you

Laurent
Technical Details
Message-ID: <a6ingf$7l0$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!colt.net!newspeer.clara.net!news.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,cbc90b6df5988189,start
X-Google-Attributes: gid1089d0,public
X-Google-Thread: f74b3,cbc90b6df5988189,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2002-03-11 08:57:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!colt.net!newspeer.clara.net!news.clara.net!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Laurent Souriau" <lsouriau@club-internet.fr>
Newsgroups: borland.public.jbuilder.java.api,borland.public.jbuilder.java.language
Subject: How to download via HTTP a file in java ?
Date: Mon, 11 Mar 2002 17:58:39 +0100
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 17
Message-ID: <a6ingf$7l0$1@s1.read.news.oleane.net>
NNTP-Posting-Host: aqsacom.rain.fr
X-Trace: s1.read.news.oleane.net 1015865679 7840 195.6.24.78 (11 Mar 2002 16:54:39 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Mon, 11 Mar 2002 16:54:39 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400