I need to generate a txt from oracle and put it into a ftp server, I already make the st for build de file but is it possible to transfer it to a ftp directly from the SP???
Thanks.
I need to generate a txt from oracle and put it into a ftp server, I already make the st for build de file but is it possible to transfer it to a ftp directly from the SP???
Thanks.
you sure can (not sure what version of Oracle you are on but as long as it is 9i++ you ought to be safe).
You will need to utilize a combination of UTL_FILE (to write the file) and then utl_tcp (to do the actual ftp'ing of the file).
This link covers this approach (and also introduces a few others) in good detail with examples.
http://www.oracle-base.com/articles/misc/FTPFromPLSQL.php