on 12-03-2008 2:50 PM
Hi everybody,
I want to use the file adapter and a question arises for both sender and
receiver:
On the sender: How does the PI know when a file is complete for reading?
Can this be a problem (PI starts reading the file when it is not complete?)
On the receiver: How does the receiver know when a file written by
PI is complete? Does PI support some kind of write to tmpfile then rename
schema?
Thanks for any suggestions
Best regards
Stefan
Hi,
> On the receiver: How does the receiver know when a file written by
> PI is complete? Does PI support some kind of write to tmpfile then rename
> schema?
it's possible in FTP mode with the Processing Parameter Put File:
http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
>If the file is to be created on the server immediately, select Directly.
>If the content is to be gathered in a temporary file first before the final file is put on >the server, choose Use Temporary File.
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan,
On the sender: How does the PI know when a file is complete for reading?
Can this be a problem (PI starts reading the file when it is not complete?)
Yes, it could be a problem: Have a look at below from help.sap
Advanced Mode
To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.
● Msecs to Wait Before Modification Check
Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.
This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.
This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
Regards,
Carlos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.