Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17324 > unrolled thread

com.sun.ftp?

Started by"Knute Johnson" <knute.johnson@1:261/38.remove-p82-this>
First post2012-08-08 06:20 +0000
Last post2012-08-08 06:20 +0000
Articles 6 — 4 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
    Re: com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
    Re: com.sun.ftp? "Arne Vajhøj" <arne.vajhøj@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
      Re: com.sun.ftp? "Knute Johnson" <knute.johnson@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000
        Re: com.sun.ftp? "Robert Klemme" <robert.klemme@1:261/38.remove-qhs-this> - 2012-08-08 19:04 +0000
    Re: com.sun.ftp? "Roedy Green" <roedy.green@1:261/38.remove-p82-this> - 2012-08-08 06:20 +0000

#17324 — com.sun.ftp?

From"Knute Johnson" <knute.johnson@1:261/38.remove-p82-this>
Date2012-08-08 06:20 +0000
Subjectcom.sun.ftp?
Message-ID<5021F862.56279.calajapr@time.synchro.net>
From: Knute Johnson <nospam@knutejohnson.com>

Anybody know what the plans are for com.sun.ftp?  I've got a project that would 
work out really well if I could use the FtpClient class from that package.  Is 
it in the Mac version of Java 7?

Thanks,

--

Knute Johnson

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#17325

From"Knute Johnson" <knute.johnson@1:261/38.remove-p82-this>
Date2012-08-08 06:20 +0000
Message-ID<5021F862.56280.calajapr@time.synchro.net>
In reply to#17324
  To: Knute Johnson
From: Knute Johnson <nospam@knutejohnson.com>

On 8/6/2012 1:37 PM, Knute Johnson wrote:
> Anybody know what the plans are for com.sun.ftp?  I've got a project
> that would work out really well if I could use the FtpClient class from
> that package.  Is it in the Mac version of Java 7?
>
> Thanks,
>

Except it isn't com.sun.ftp, it's sun.net.ftp.  It's been one of those days 
already.

--

Knute Johnson

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#17327

From"Arne Vajhøj" <arne.vajhøj@1:261/38.remove-p82-this>
Date2012-08-08 06:20 +0000
Message-ID<5021F862.56281.calajapr@time.synchro.net>
In reply to#17324
  To: Knute Johnson
From: Arne Vajhoj <arne@vajhoej.dk>

On 8/6/2012 4:37 PM, Knute Johnson wrote:
> Anybody know what the plans are for com.sun.ftp?  I've got a project
> that would work out really well if I could use the FtpClient class from
> that package.  Is it in the Mac version of Java 7?

Why not use the Apache Common Net library?

Instead of relying on some undocumented can change anytime stuff.

Arne

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#17333

From"Knute Johnson" <knute.johnson@1:261/38.remove-p82-this>
Date2012-08-08 06:20 +0000
Message-ID<5021F862.56282.calajapr@time.synchro.net>
In reply to#17327
  To: Arne Vajhøj
From: Knute Johnson <nospam@knutejohnson.com>

On 8/6/2012 3:02 PM, Arne Vajhoj wrote:
> On 8/6/2012 4:37 PM, Knute Johnson wrote:
>> Anybody know what the plans are for com.sun.ftp?  I've got a project
>> that would work out really well if I could use the FtpClient class from
>> that package.  Is it in the Mac version of Java 7?
>
> Why not use the Apache Common Net library?
>
> Instead of relying on some undocumented can change anytime stuff.
>
> Arne
>
>

I think I was assuming that it is a coming feature.  Why would they go to the 
effort to create an ftp package and include it in the JDK if it wasn't going to 
be a regular package some day.

--

Knute Johnson

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#17369

From"Robert Klemme" <robert.klemme@1:261/38.remove-qhs-this>
Date2012-08-08 19:04 +0000
Message-ID<5022AB7A.56319.calajapr@time.synchro.net>
In reply to#17333
  To: Knute Johnson
From: Robert Klemme <shortcutter@googlemail.com>

On 08/07/2012 01:06 AM, Knute Johnson wrote:
> I think I was assuming that it is a coming feature.  Why would they go
> to the effort to create an ftp package and include it in the JDK if it
> wasn't going to be a regular package some day.

One reason would be that it is not used explicitly but rather implicitly, for 
example via
http://docs.oracle.com/javase/6/docs/api/java/net/URL.html#openStream%28%29

Also from that page: "Protocol handlers for the following protocols are 
guaranteed to exist on the search path :-

          http, https, ftp, file, and jar"

In other words: it is a regular package but it is not intended to be used 
directly but only via a different publicly accessible package.

Kind regards

        robert

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [next] | [standalone]


#17341

From"Roedy Green" <roedy.green@1:261/38.remove-p82-this>
Date2012-08-08 06:20 +0000
Message-ID<5021F865.56295.calajapr@time.synchro.net>
In reply to#17324
  To: Knute Johnson
From: Roedy Green <see_website@mindprod.com.invalid>

On Mon, 06 Aug 2012 13:37:15 -0700, Knute Johnson
<nospam@knutejohnson.com> wrote, quoted or indirectly quoted someone
who said :

>Anybody know what the plans are for com.sun.ftp?  I've got a project
>that would work out really well if I could use the FtpClient class from
>that package.  Is it in the Mac version of Java 7?

There are some other packages you could use. See 
http://mindprod.com/jgloss/ftp.html

--
Roedy Green Canadian Mind Products
http://mindprod.com
The greatest shortcoming of the human race is our inability to understand the 
exponential function.
 ~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)
http://www.youtube.com/watch?v=F-QA2rkpBSY

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web