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

File Extension ".txt" using SFTP-SND-Adpater

Hi experts,

I'm using the SFTP-SND-Adapter in a pi-scenario. All proceed messages are archived on ths SFTP-Server. So far, so good. The only problem is the file extension ".txt". That means my XML-File (e.g. test.xml) is archived as text.xml.txt after processing. My research has revealed that this is a "security feature". Is it possible to deactivate it? Is there any possibility to prevent this extension?

Thank you all.

Best,

HC

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 30, 2014 at 03:27 PM

    Did you try the note? 1815655 - Default extension added while archiving files on SFTP server

    Also, an advanced mode parameter "addDefaultFileExtension" has been introduced.

    If this parameter is set to 'true', then, while archiving the files on SFTP server, the additional check will be performed to check whether the file has ".txt" extension or not. If not, then the ".txt" extension will be added with the file name. Else, normal execution continues i.e. files will be archived on the SFTP server with their original name.

    The default value for the parameter "addDefaultFileExtension" is 'false'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 28, 2015 at 08:49 AM

    Hi Uday,

    Many thanks for your reply.

    Your Suggestion didn't work (for reason see my answer to Hareesh).

    But I found the following note which is working fine :-)

    Note: 2104739 Skip Appending .txt to Archive Filename

    Using add.Default.file.extension -> "false" in additional parameters

    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.