How Do I Retrieve an Attachment from SFTP Site?
SummaryWhat value should I use in the FileContent field to retrieve an attachment from an SFTP site?
I'm working on an import script to retrieve documents to be attached to a candidate's record. I have it working fine from the local machine giving the "FileContent" field something like "C:\documents\NewAttach.docx." But when moved to production these attachments will be on our FTP site and so far the script can't find the file.
The config file has a pre-processing step that logs into the FTP site and includes the remoteDirectory "/vendors/in" and the filename "taleo_attachment_ld.csv". The csv file is below and is accessed just fine: