on 2012 May 11 11:08 AM
Hi,
We are using PI for one of our scenarios as simple File Transfer. We are using NFS to pick .HDR and .ZIP files and send it across using SFTP adapter.
The requirement is such that the .DTA files must first be written followed by HDR. The size of the .HDR is just 5kb whereas DTA files is relatively huge ranging from 24-50MB.
The only choice I have is to use two communication channels and schedule it with different timing. Since it is going to run once a day, I can schedule one channel to pick up DTA at 10:00, after an hour will schedule it to pick up HDR.
Let me know if you guys have any other suggestions on this!
Regards
Anandh.B
Hello,
Since you are using NFS, you might want to check the blog of Mickael for that, see solution N1 which makes the polling of the file adapter go one by one
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AnandhaKrishnan,
I have thought, but i dont check it, that you could use the option Defining Operating System Commands Before/After Message Processing and modificate .HDR timestamp for example with "touch filename" in linux and choosing before message processing. Later you could use Processing Sequence "By Date" in order to take the files.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Inaki,
I would suspect it is not the issue with picking up the files. Even though I have used the OS commands to modify and pick up the HDR file, what will be the guarantee that the receiver adapter has finished the .DTA file.
There is no trigger mechanism for me to tell PI that DTA file transfer is done and now pick up HDR file.
Regards
Anandh.B
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.