cancel
Showing results for 
Search instead for 
Did you mean: 

File Adapter-Creating a temporary file

Former Member
0 Kudos

Hi,

I got an requirement to place only completed file(With 100% data) in the target directory. So i need to gather the data in a temporary file first before final file is put on the target directory. I know we have an option in the File adapter (Put File). What i need is, where the temporary file is created? do we need to delete these temporary file? and How to test this requirement?

Thanks in advance.

Regards

Sreeni

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You can write a program to check if the file is 100% completed, if yes, create a source file.

in your file adapter, configure the program as OS command of your adapter, define the source file as the source file of your adapter. This should work.

Former Member
0 Kudos

HI Sreeni

If you use Temporary file under put file XI wil create a temporary file at the target location only.

But when your requirement is to create file why you are looking for temperory file. Just use Create and it will create a final file.

write mode : directly

Use empty file handling as Ignore

Thanks

Gaurav