cancel
Showing results for 
Search instead for 
Did you mean: 

problem with the FTP sender communcation channel

Former Member
0 Kudos

hi

i have a problem with the FTP sender communcation channel , when two or more files placed at a time into the source folder of the communction channel it is picking all the files at a time and processing , but here we require it to process each file one by one with a delay of 3minutes , can any body help me regarding this,

regards

sandeep

View Entire Topic
Former Member
0 Kudos

hi i tried the same but stil it is picking all the files at time ,

regards

sandeep

Former Member
0 Kudos

Hi Sandeep,

This is the standard behavior of File Sender Adapter. It will pick up all the file which are present at once at that particular poll in the Folder. You cannot pick the files present with a delay of 3 minutes by standard way.

Kindly check the SAP Note 821267, where it is clearly mentioned(as below) that for NFS we can process files in sequence as per time stamp but the same is not for FTP:

12. File Sender: Quality of Service EOIO (Exactly Once In

Order)

o Q: How does a File Adapter sender channel handle the quality of

service EOIO? Are files that match the File Name Scheme in the

sender's channel configuration processed in arbitrary order?

o A: The File Adapter allows you to configure the Processing Sequence

of files for the Transport Protocol "File System (NFS)", which also

determines the order for EOIO processing. Files can either be

processed in ascending alphabetical order (Processing Sequence "By

Name") or by their last modification time stamp (Processing

Sequence "By Date"), where the oldest file is processed first. For

the Transport Protocol "File Transfer Protocol (FTP)" files are

always processed in ascending alphabetical order.

Cheers

Dhwani

Edited by: dhwani kamdar on Nov 2, 2009 9:38 PM

Former Member
0 Kudos

Hi Sandeep,

I don't think there is a standard functionality for this case. you can write the custom module.

Regards

Ramesh

Former Member
0 Kudos

Well, as such there is no standard way to delay the file picking process, but you can hold the control at the Message mapping level to send the message out of PI to the target system using UDF or java mapping with the statement:

Thread.sleep(180000).

The other options are use of BPM with the wait step, write a custom module or shell script.

I think the UDF option should work for you.

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#sleep%28long%29

Pooja