使用Oracle PL / SQL将文件写入SFTP [英] Write a file to SFTP using Oracle PL/SQL
本文介绍了使用Oracle PL / SQL将文件写入SFTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
您可以尝试商业从DidiSoft提供的ORA_SFTP 软件包:
connection_id:= ORA_SFTP.CONNECT_HOST(...
ORA_SFTP.UPLOAD(connection_id,data,'remote_file.dat');
免责声明:我为DidiSoft工作
I wrote a PL/SQL procedure to connect to an FTP server. I am able to write a file to that FTP server. Using the same code I tried to connect to an SFTP server, but it failed. How do I connect to SFTP using PL/SQL?
解决方案
You can try the commercial ORA_SFTP package provided from DidiSoft:
connection_id := ORA_SFTP.CONNECT_HOST(...
ORA_SFTP.UPLOAD(connection_id, data, 'remote_file.dat');
Disclaimer: I work for DidiSoft
这篇关于使用Oracle PL / SQL将文件写入SFTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文