Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How Do I Retrieve an Attachment from SFTP Site? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How Do I Retrieve an Attachment from SFTP Site?

Received Response
27
Views
1
Comments
edited Jun 20, 2017 3:56PM in Taleo Enterprise Integrations 1 comment

Summary

What value should I use in the FileContent field to retrieve an attachment from an SFTP site?

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!