Skip to Content
0
Jul 14, 2015 at 04:11 AM

FTP Receiver Adapter:Overwrite Existing File should use Temporary File method

358 Views

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:

http://help.sap.com/saphelp_nwpi711/helpdata/en/44/69d7cfa4b633eae10000000a1553f6/content.htm?frameset=/en/44/6830e67f2a6d12e10000000a1553f6/frameset.htm&current_toc=/en/44/658ac3344a4de0e10000000a1553f7/plain.htm&node_id=8

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.