Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Ftp

Re: Ftp

From: David A. Barbour <dbarbour_at_nucentrix.net>
Date: Thu, 26 Apr 2001 05:43:52 -0700
Message-ID: <F001.002F2C08.20010426041543@fatcity.com>

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

Roland.Skoldblom_at_ica.se 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: Roland.Skoldblom_at_ica.se
>
> 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: ListGuru_at_fatcity.com (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: dbarbour_at_nucentrix.net

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: ListGuru_at_fatcity.com (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).
Received on Thu Apr 26 2001 - 07:43:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US