Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Problems creating an Stored procedure with an FTP
Hi,
I want to make an FTP with stored Procedures and Functions in a database, in order to download some files, as is shown at http://www.revealnet.com/newsletter-v3/0302_C.htm
but there is a problem ... I try to create all the code at TOAD 7.6, but it crashes because the following code crashes
does aybody knows why it hapens?
Sincerely yours,
Miquel Angel
TYPE TStringTable IS TABLE OF VARCHAR2(2000);
TYPE TServerReply IS RECORD (
Rpt CHAR, -- Holds symbol: "-" if ftp reply consist of several
Code VARCHAR2(3), -- Tree digit reply code
Message VARCHAR2(256)); -- Descriptive Message
TYPE TServerReplyA IS TABLE OF TServerReply;
TYPE TConnectInfo IS RECORD (IP VARCHAR2(22),
Port PLS_INTEGER );
CREATE OR REPLACE PROCEDURE Main
IS
v_reply TServerReplyA; v_file TStringTable; v_conn utl_tcp.connection;