This discussion is archived
1 Reply Latest reply: Feb 7, 2013 2:24 AM by Anuj Dwivedi RSS

File Polling

TarunRathor Newbie
Currently Being Moderated
Hi,

While polling a file using file adapter, we can get file archived to an 'archive' folder. Is there any way that string that is appended to it (say 012345_file.xml) be removed and we get the file with original name in the archive folder?

Thanks in advance,
Tarun
  • 1. Re: File Polling
    Anuj Dwivedi Guru
    Currently Being Moderated
    Tarun,

    In 11g, the name of the archived file will be in the format -

    originalFileName_digest_timestamp

    This is to avoid the overwriting of files in case of duplicate. If this does not suits to you then as a workaround, remove the archiving from file read and in your process, write the file to archival directory by using write operation of file adapter.

    Regards,
    Anuj

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points