cancel
Showing results for 
Search instead for 
Did you mean: 

Sender File Adapter - FTP

Former Member
0 Kudos

XI is picking up While File is being written in the Specified Directory. XI uses File adapter ( FTP transport Protocal ) . If file being written is very large ( It may take couple of minutes ) XI picks it up in parts for every 1 minute ( It was configured like that ) and try to send over Which is not correct. Is there any workaround to this issue. In PI 7.0, for NFS file system, SAP included modification check but it doesn't work for ftp file adpater. Basically XI should wait to pickup file until the file written completely in the Source System.

Anyone have any Idea how to overcome this issue ?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi keep mode in DELETE type and

in Advanced mode set the time intervel accordingly ....

hope this will support ur issue

Former Member
0 Kudos

Thanks for the replies.

But Modification Check is for NFS file system ONLY. It does not work for transport Protocol, FTP.

I have to check DELETE option however to see if it works. How does DELETE Works for example in my Scenario File is being written on FTP server while XI polls for file.

Former Member
0 Kudos

Hi,

You could use the Advanced mode checkbox in the file adapter, to specify the time the adapter has to wait, before it checks if the file has been modified.

In case, the file has been modified, after the adapter read the file, the data in the adapter cache is discarded and the updated/modified file is taken from the source path specified.

This would work, only if you have not specified "recordsets per message" during content conversion.

Regards,

Smitha.

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

There is a parameter MILLISECONDS TO WAIT BEFORE MODIFICATION CHECK in the sender file adapter --> advanced mode.

This should address your issue.

http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm

Regards

Bhavesh

Former Member
0 Kudos

Well, I'm sure the SDN experts have a better solution for you, but the quick and easy way to do it would be to create a bash script on the UNIX host of the source file. Have the file write to a different filename than XI is looking for, and the bash script will change the name to the filename XI is looking for when the file is not in use (ie: not still being written to)