Roland,

Are we not in just a little bit over our heads here?

You don't say what you environment(s) is (are) but in UNIX, there are a
couple of ways to do this. They depend on the security you have set up
on each system and whether or not the source system has Oracle
installed.

I'm guessing PERL isn't an option here.

If you actually have to go get the file, then you'll need to execute a
shell script (you might also be able to use the oragetfile function). 
It may be more advantageous to have the source system ftp the file to
the target (again, a shell script either on the source or the target
will probably be required).  If you just need to read the file, you can
use the UTL_FILE package.  In any case, you might have to set
permissions, change initialization parameters, create database links,
create synonyms, create users (both O/S an/or Oracle), and allow host
access before any solution will be possible.

Why don't you get a logon to OTN ( http://otn.oracle.com/index.html )
and do some research   They also have some dandy examples.

Hope this helps.

David A. Barbour
Oracle DBA, OCP

[EMAIL PROTECTED] wrote:
> 
> How can I  write a PL/SQL procedur that connects to a ftp server and then gets a 
>file from the unixsystem?
> Give an example, please.
> 
> Roland Sk�ldblom
> 
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: David A. Barbour
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to