Forum Stats

  • 3,827,853 Users
  • 2,260,832 Discussions
  • 7,897,398 Comments

Discussions

I Just Want to integrate FTP in my oracle apex in pl/sql

I am using this code

DECLARE

  l_conn  UTL_TCP.connection;

BEGIN

  l_conn := ftp.login('ftp.company.com', '21', 'ftpuser', 'ftppassword');

  ftp.ascii(p_conn => l_conn);

  ftp.get(p_conn      => l_conn,

          p_from_file => '/u01/app/oracle/test.txt',

          p_to_dir    => 'MY_DOCS',

          p_to_file   => 'test_get.txt');

  ftp.logout(l_conn);

END;


I have created ACL and grant access to it

and still getting this error.


Answers