Hello Community,
Attached isÂ
We use ftp server in the edm locations of our documents. Therefore, all our digital documents are stored on our FTP server.Â
When I use batch_transfer_handler_api.download_from_ftp to send mail these documents from IFS EE, I get the following error.
DECLARE
error_msg_ VARCHAR2(4000);
BEGIN
error_msg_ := NULL;
batch_transfer_handler_api.download_from_ftp(
error_msg_ => error_msg_,
local_file_name_ => '/FTP/2022/JAN/DOC-1000162-1-REV01-1.PDF',
file_name_ => '/FTP/2022/JAN/DOC-1000162-1-REV01-1.PDF',
address_ => '<ftp_server_ip>',
user_ => '<ftp_connect_username>',
password_ => '<ftp_connect_user_pwd>',
port_ => 21,
send_password_ => TRUE
);
IF (error_msg_ IS NOT NULL) THEN
dbms_output.put_line('error_msg_: ' || error_msg_);
END IF;
END;
Output:
error_msg_: ORA-20105: WebServicesUtil.readFromFtp: Failed to download file from Ftp server rLogin incorrect.]
Â
Regards,
Barış