Skip to Content

How do we suppress creation of archive file for FTP Sender

In our scenario for File Sender with FTP protocol, we archive the file on our server with a timestamp after successfully processing the file.  This works well.  What we have found is it there is no file for the adapter to process an empty file is created in the target directory.  How can we turn off the creation of the empty archive file, if there is no originating file.

Settings in communication channel

Files in Archive Directory

Files on ftp server

    none

In this scenario the channel checks every 900 secs for a file for 2 hours.  Only one file is expected during this timeframe although 8 archive files are created. The creation of an empty file is misleading as we could actually receive an empty file.

Is there a parameter that can control the creation of the file if one is not found?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 25, 2015 at 04:11 PM

    you can choose empty file handling - skip empty file -option.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 25, 2015 at 04:12 PM

    Lisa,

    Please set Under Handling of Empty Files - 'Skip Empty Files'. SAP Help Link. FYI, this will not create a message id in SAP PI for empty file.

    Add comment
    10|10000 characters needed characters exceeded