Skip to Content
0
Aug 02, 2016 at 05:12 AM

How to pick files from SFTP based on date provided in file name

197 Views

Hi experts,

We have one requirement to pick the files from SFTP path based on the date that thve been provided in the file name itself

We need to pick only Current Date-1 file and we need to ignore all the remaining files and the processed file should be moved to ARCHIVE folder in SFTP Server. The file will be picked up from SFTP server based on the date that they have been placed in SFTP.

But not based on the date that they have been provided in the filename.

We had developed a custom adapter module in order to achieve this requirement.

When we checked in communication channel it is showing the following error

  1. Cannot send message to module processor: com.sap.aii.af.lib.mp.module.ModuleException: one of the parameter is null.
  2. Error while sending message:Cannot send message to module processor: com.sap.aii.af.lib.mp.module.ModuleException: one of the parameter is null.