Skip to Content
0
Jul 08, 2014 at 08:45 AM

Problem with overwriting files

43 Views

Hi experts,

I have a receiver CC with File Transfer Protocol and File Content Conversion. This CC write files on an external AS400 server.

Files are created with "D"+DDDHHMMSS. I cannot change this filename convention.

Sometimes happens that 2 files are created in the same second (SS), so second file overwrites the first file.

It's possible to avoid that?

I need that PI throws a system error in this case.

I've tried to use:

put file: use temporary files

and

overwrite existing files not checked

but PI throws an error because the temporary file created is too long for AS400 (AS400 has max file name length=10 characters)

Thanks

Fabio