Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

FTP from Jaguar?

4 posts in General Discussion (old) Last posting was on 2000-02-28 18:19:11.0Z
Giannino Alvarez Posted on 2000-02-19 17:17:41.0Z
Newsgroups: sybase.public.easerver
From: "Giannino Alvarez" <giannino@scc.com.mx>
Subject: FTP from Jaguar?
Date: Sat, 19 Feb 2000 11:17:41 -0600
Lines: 7
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: pruebas.scc.com.mx 148.245.39.58
Message-ID: <347_fAatG3ve$GA.204@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28318
Article PK: 160352

Does anybody knows how can I make a FTP service form Jaguar?

Thank you in advance for your kind Reply.

Giannino Alvarez, Mexico City.


James Stansell Posted on 2000-02-21 19:36:39.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 21 Feb 2000 13:36:39 -0600
From: James Stansell <stansell@wcg.net>
Organization: Williams Network <URL: http://www.williams.com/>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: FTP from Jaguar?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
NNTP-Posting-Host: securit-v1.twc.com 151.142.252.11
Message-ID: <347_38B193C7.2882C3FF@wcg.net>
References: <347_fAatG3ve$GA.204@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28273
Article PK: 160314


Giannino Alvarez wrote:

> Does anybody knows how can I make a FTP service form Jaguar?

If you want to use Jaguar as an ftp server (i.e. ftpd) you could
probably write a service component that starts its own listener, but I'd
have to suggest that you look at other possibilities. If you need to
transfer files using Jaguar as the server, that could probably work, but
you'd normally use IIOP instead of FTP, which wouldn't let you use
existing ftp clients.

If you need a Jaguar component to connect to an ftp server and transfer
files, that should probably work OK. One ftp client library that I've
heard of but not used is at
http://www.fooware.com/downloads/ftpclient.html.

Regards,

-james.


Andrew Hart Posted on 2000-02-28 18:07:47.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 12:07:47 -0600
From: Andrew Hart <Andrew_Hart@harcourt.com>
Organization: The Psychological Corporation
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: FTP from Jaguar?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 67
NNTP-Posting-Host: 167.208.175.68
Message-ID: <347_38BAB973.C4B5B3A9@harcourt.com>
References: <347_fAatG3ve$GA.204@forums.sybase.com> <347_38B193C7.2882C3FF@wcg.net>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27647
Article PK: 159015

Has anybody tried out this Fooware FTP client?

I am a Java idiot... I've done about half of the "hello world" tutorial in
PowerJ, that's it. I have been using EAS and PB 7 for a couple of months.
I downloaded this fooware client and decided to try installing it as a
component. I've never installed a java component, so I wanted to see how
that works and we will be needing an ftp component like that in the near
future.
There are four class files, FTPReader.class, FTPWriter.class,
FTPResponse.class, and FTPClient.class. There is also a jar file containing
all four classes.

I created a package called FTP on the jaguar server using JagManager. I
selected the "Import" component from Java class. I then imported the first
three classes (ftpreader.class, ftpwriter.class, and ftpresponse.class)
without incident. Seemed to work, I see the components and all the
methods. On the last one, FTPClient, the component was created, but there
were error messages and not all the methods were imported. My error
messages were:

Method getResponse Reason Bad Return Type
getAllResponses Reason Bad Return Type
java.util.Enumeration Method retrieve Reason Bad Return Type
com.fooware.net FTPReader Method store Reason Bad Return Type
com.fooware.net FTPWriter Method store unique

All of the methods in FTPClient that generated error message were returning
types defined in one of the other three classes, e.g,, FTPWriter, FTPReader,
FTPResponse, etc. (I'm not sure about the java.util.Enumeration
message...) At first I thought it was just some sort of problem not having
the class path set up properly... But, now I'm just confused. It looks
like the only class that actually needs to be a component is FTPClient and
that the other classes are there to support that one. If anyone has any
guidance, I would be grateful.

Thanks.

James Stansell wrote:

> Giannino Alvarez wrote:
>
> > Does anybody knows how can I make a FTP service form Jaguar?
>
> If you want to use Jaguar as an ftp server (i.e. ftpd) you could
> probably write a service component that starts its own listener, but I'd
> have to suggest that you look at other possibilities. If you need to
> transfer files using Jaguar as the server, that could probably work, but
> you'd normally use IIOP instead of FTP, which wouldn't let you use
> existing ftp clients.
>
> If you need a Jaguar component to connect to an ftp server and transfer
> files, that should probably work OK. One ftp client library that I've
> heard of but not used is at
> http://www.fooware.com/downloads/ftpclient.html.
>
> Regards,
>
> -james.


Greg Comeau Posted on 2000-02-28 18:19:11.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 11:19:11 -0700
From: Greg Comeau <comeau@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.5 [en]C-CCK-MCD (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: FTP from Jaguar?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 12
NNTP-Posting-Host: comeau-pc.sybase.com 157.133.215.28
Message-ID: <347_38BABC1F.61634825@sybase.com>
References: <347_fAatG3ve$GA.204@forums.sybase.com> <347_38B193C7.2882C3FF@wcg.net> <347_38BAB973.C4B5B3A9@harcourt.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27643
Article PK: 159013

FYI, there is an FTP class built into the PowerJ class library,
powersoft.powerj.net.FTP. This package is also installed when you install
Jaguar. It is in a zip file powerjr.zip, so you wouldn't even have to install a
separate packge in the Jaguar class path when you deployed your component.

The PowerJ help file has step-by-step instructions for using the FTP class. This
should get you started.

Greg Comeau
Sybase, Inc.