Skip to Content
author's profile photo Former Member
Former Member

File sender adapter (FTP) -> processing mode "Archive"

Hello all

We're polling files from an external FTP server. For this I created a scenario on XI according to this thread:


When setting processing mode to "Archive" in the file sender adapter (ftp) it polls the file, stores it to the archive directory I specified and then tries to delete the file on the FTP server side. This returns me an error because we're not allowed to delete the retrieved files on the FTP server!

Because of this error the file adapter stops further processing and does not poll all the other files.

How can I disable this deletion mechanism while keeping processing mode to "Archive"?!?!?

We do not want to use processing mode "Delete" or "Test" and we don't see other options to influence this behaviour.

Thanks for any guideance on this one in advance!

Kind regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 27, 2006 at 10:01 AM


    You can look into the option of using an OS command in your Sender File Adapter.

    <b>Keep the mode as TEST. In the OS command , write a simple OS command to move it to the corresponding Directoy.</b>



    Add a comment
    10|10000 characters needed characters exceeded

    • Reanud,

      To be frank am seriosuly lost here in what the entire requirement here is 😔

      <i>In repository I created dummy data types, message types and message interfaces. No mapping programs and interface mappings!</i>

      Well, in this case you are using XI as a mere FTP service.

      So far so good.

      But, if you are going to change the filename in the Message mapping by appendding a time stamp and then creating the directory dynamically, then you will need to have a Content Conversion on both the sender and receiver file adapter which will actually complicate things.

      So, the better and more simple way to do this is .

      1. Use XI as the FTP service.

      2. Dump all Files in a Dummy Directory.

      3. In the receiver file adapter , use the TIMESTAMP option to append the Timestamp to the file.

      Now, you can write a Script that will get executed from the file adapter that will pick these files from the dummy directory, extract the TImeStamp, create the folder dynamically and then move files to this new folder.

      Let me know if i have understood the requirements correct. and if this solution is feasible.



  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2006 at 10:01 AM


    Chk out this thread


    this has the reply for ur answer



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.