I am trying to download a file from FTP server to OIC and then upload it as attachment to Payables Invoice by using Erpobjectattachmentservice.uploadAttachment. But is not working from OIC when using attachmentType as File. The request is completing Successfully, but the webservice response is "FAILED". If the the attachmentType is used as URL, it is working fine. Please let me know if something is missing or if I am doing something wrong.