🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17568

Re: FTP

#17568
From: John P. McGrath
Date: Sun, 01 Nov 1998 00:00
21 lines
980 bytes
Martin Schmitt <martin@binarycompass.com> wrote:

> I'm trying to retrieve a file from a system on our LAN.
> Figured ftp 'd be good idea, something like
> 
> url = new URL("ftp://systemname/dir/file.log");
> 
> Alas it tries to connect, but barfs at the lack of proper
> login info (username, password).  How the &*#$ do I supply
> that -- or should I use the file: protocol?

I believe the full format for an FTP URL is:

    ftp://user:password@host:port/path

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.10a6cd322f4c36659896f4@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <71admh$iff18@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,685bcbce8584be24
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: FTP
Date: 1998/11/01
Message-ID: <MPG.10a6cd322f4c36659896f4@forums.inprise.com>
X-Deja-AN: 407392980
References: <71admh$iff18@forums.borland.com>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language