on 05-23-2008 7:19 AM
Hi,
I need the same file name which is at Sender side and when it reaches to Receiver directory without timestamp.
for eg., Sender side : Yeswanth.txt
and also receiver side : Yeswanth.txt
but, here it should overwrite the existing file (because, the sender side file name is always constant) at receiver directory when the job schedules for each time.
Processing parameters i has given on Receiver side:
File Construction Mode : Create
put file : Use Temporary File
and I enabled the Adapter Specific Message Attributes at Sender side and Receiver side.
Error getting receiver side at communication channel :
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException:
Yeswanth.txt: Cannot create a file when that file already exists. : com.sap.aii.adapter.file.ftp.FTPEx: 550
Yeswanth.txt: Cannot create a file when that file already exists.
Reward points for useful answers.
Regards,
Yeswanth.
Edited by: YeswanthRaj Kumar on May 23, 2008 8:20 AM
HI All,
Thanks for your valuable time to spent with me.
Finally, the file been overwrite at Receiver directory..
I has stopped the services and again i started the communication channel.
The problem get solved.
Regards,
Yeswanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yeswanth
Then you can try with a "Add Counter". This will create new file each time with the same name but a counter will be added to the file name at the end specifying the number of times it is created.
You can also the specify the format to create the counter once select this option u can correspondingly fill the Format and step fields.
Will this be fine.
Regards
Ashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yeswanth
Why dont you try to set the File construction mode in Receiver side as "Create" and then check the "overwrite existing file" option.
Regards
Ashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yeswanth
Why dont you try to set the sender file adapter in delete mode?it is again something similar to you overwrite mode(finallly the old is going to get washed out).
Thanks
Mitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mitesh,
I has given the sender file adapter is mode is "Delete" only.
But, i need to overwrite the file at Receiverside.
Because, if already i had the same file name in Receiver Directory then should overwrite otherwise, it should create with the new one (with the same file name as per sender side).
Regards,
Yeswanth.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.