on 07-14-2015 5:11 AM
Dear Experts,
I plan to have an interface FTP at the receiver side and to overwrite the existing file with the same file name at the FTP server.
From the documentation here:
It is said that "You can only set the indicator if you select Use Temporary File under Put File below"
I wonder why do we have to use temporary file if we want to overwrite the existing file at the FTP server? AFAIK, the Use Temporary File option is an option to add an additional step to write a temporary file first using the temporary file naming scheme then rename to the final naming scheme.
I'm just afraid there's a reason behind this and that I need to know it before using it to avoid unexpected error.
What is the behavior if I set the Use Temporary File option with empty temporary file naming scheme and set the Overwrite Existing File?
Thank you,
Suwandi C.
Hi Suwandi,
It is said that "You can only set the indicator if you select Use Temporary File under Put File below"
This does not seem to be the case anymore. Here is a screenshot from our 7.11 SP13.
What is the behavior if I set the Use Temporary File option with empty temporary file naming scheme and set the Overwrite Existing File?
Interesting, it does not create any errors when the channel is checked using F7. So I guess, if there is no entry on the temporary filename, SAP will generate a temp filename for it?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suwandi,
For the FTP TP also, we have the option in Processing tab. PFB screen shot:
Coming to your query on temporary file name schema, instead of writing the file directly, you can go for a temporary file name schema, and when full file has been pushed then it would renamed to the filename configured in the channel on the server.
If you want to overwrite the file on the server, then use Overwrite existing File option, this would solve your requirement.
Regards
Vishnu
Hi Suwandi,
AFAIK - you need not mention Use Temp File Option for Overwriting the file.
If you notice, Put File has 2 option : Directly & Use Temp File, based on your requirement you can select either of these.
Please check point 15 in the link:
○ If an additional step is to be added using a temporary file, choose Use Temporary File.
○ You can specify a naming scheme for the temporary file under Temporary File Name Scheme
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.