on 04-02-2015 10:51 AM
Hello ,
We are having one scenario :
SFTP - PI 7.31 - FTP server.
The Source side will be placing two different extension files with same name like :
abc.xml
abc.jpg.
Both these files have to be moved to the target location. At the target location if only one file is received then it will throw an error as both the files are required for successful posting.
How can we handle such a scenario from PI side. If both files with the same names are there then only send those otherwise ignore/error out the single file.
I have tried searching on Additional files option in SFTP sender adapter like file.namepart .xml = .jpg , but i guess the additional file will be sent as an attachment in the payload as per the documentation. There is no mapping involved in our scenario and this is a ESR bypass scenario with no Payload handling.
Can you please suggest how to achieve this? We have to deliver both the files at the target side.
Thanks
Hi Gaurav,
Is it possible to use SFTP in receiver side also? because SFTP adapter can process attachments also, Then you can use additional files option in sender SFTP server. I am just asking if possible you can use SFTP if not possible then we can think about solution for FTP.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
>>>>>When i will check the store attachments option then the second file will also be stored as the first file?
Yes if you select that option both main file and attachments will be placed in the target directory.
>>>>Also is there any such option available for FTP receiver adapter?
No File adapter does not support attachments.
Regards,
Praveen.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.