on 07-14-2016 7:49 AM
Hi all,
I am currently migrating all scenarios from PI 7.11 to 7.5. After a while of wondering why a file is not polled from the FTP folder for certain channels (no error messages on one channel, on the 2nd channel i have got Error "FILE NOT FOUND"), I have seen that both channels have the open "Msecs to Wait Before Modification Check" activated:
Then I have removed the value and switched off the "Advanced Mode". Then the files have been picked up. The values have been setup from the beginning in my old PI 7.11 system and we never recorded an issue on it.
My questions:
1) what is the exact behavior using this parameter
2) has someone else found out why it's not working on the new PI 7.5 (maybe some global setup is missing, or a bug in the adapter).
Thanks
Helmut
Hi all,
first of all thanks very much for very quick responses. The Point 1) looks for me well answered, however the point 2) needs still some investigation.
Let me summarize:
- Same FTP Server, Same Credentials
- PID (on 7.11) it works fine
- PJD (on 7.5) it does not pick up files when option is enabled
I will let Java stack been restarted, maybe it's some wired circumstance.
Regards
Helmut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadym,
thanks. My error message behavior of channel 1 is exactly like mentioned in Note 2305086 while channel 2 has File Content Conversion active.
So my assumption is that the feature has not worked in 7.11 either, however it has not thrown an error and polled the files.
I have opened a message with SAP already, but I assume they will give me note 2305086, in parallel I have asked the collegue who is running my FTP server to confirm about the "file size report" feature.
Thanks again to you and all others for good collaboration.
Regards
Helmut
Hi Iñaki
I don't think this is a bug. AFAIK, this option is simply not logically applicable for FTP connections due to its dependency on FTP service providers.
I have always used this in NFS in Sender file adapter to ensure that a partial file is not picked up.
Hi Helmut,
I would simply suggest to ignore this setting in PI 7.5 and take it as lessons learnt.
I have seen multiple settings being applied in Production systems which are not used and can be done away with.
Hope it helps!
Ambrish
Hi Helmut!
About behavior: if you're aware of source file is being modified while adapter polls it you can set this option. Thus, adapter polls file than waits for given interval and checks if source file was modified since original version has been polled. Is so, new version of source file is taken and processed.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Helmut.
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 Protocol and then made an entry under Recordsets per Message to split an input file into several messages.
Configuring the Sender File Adapter - Advanced Adapter Engine - SAP Library
@Mark if am not wrong it works on FTP also but not with FCC.
Hi Raghu and Mark,
The Msecs to Wait Before Modifications flags depends of the FTP servers, not all the FTP servers reports the file size and this flag would be useless because it can't compare the size during the time pointed out. Check this note for more information: 2188990 - File Modification Check in FTP mode for File Adapter
Regards.
Hi Iñaki Vila,
Thank you for confirming that this setting is dependent on the FTP server
Regards,
Mark
Hi Helmut,
The Msecs to wait is used to make the file adapter check if the file it is polling is still being written. However, it only works for NFS, it has no effect on FTP.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.