Skip to Content
avatar image
Former Member

CONTROL_RECIPE_DOWNLOAD generated file's name

Hi,

I'm using FM CONTROL_RECIPE_DOWNLOAD to send control recipe content to Mii.

The generated XML file is named as:

CONTROL_RECIPE_DOWNLOAD_YYYYMMDDHHMMSS.xml.

Is it there the possibility to change the file's naming convention in order to prevent problems when more than one file is created with the same timestamp?

Thanks in advance for answers.

Domenico.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 05, 2008 at 11:43 AM

    Yes there is..

    What you can do is you can write a function module (or check if one is available in the google) to check the directory where you are producing the file and create a sequencial file format.

    The function module can read the current files in the directory and automatically add 1 to the sequence number part of the file...

    For example you can have

    CONTROL_RECIPE_DOWNLOAD_000000001.xml

    for the first file and the second files is named as

    CONTROL_RECIPE_DOWNLOAD_000000002.xml

    I am sure this kind of code is available as well in the web.

    Thank you,

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2008 at 11:48 AM

    Hi,

    I think it never happen, if any file in folder with time stamp automatically second file will be increment as 1.2.3..etc. I hope now clear.

    Add comment
    10|10000 characters needed characters exceeded