<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Strange behaviour tFileCopy, creates sub-directory with file name it has to copy in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507761#M141811</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm using the tFileCopy component to move a file that need to be processed in an DI-Job.&lt;/P&gt;
&lt;P&gt;Based on context variables I perform the following :&lt;/P&gt;
&lt;P&gt;context.fileName = "inlees_vessel_file.xlsx"&lt;/P&gt;
&lt;P&gt;context.processFilePath =&amp;nbsp;"/mnt/Talend/working/InleesFile/inprocess/"&lt;/P&gt;
&lt;P&gt;the tFileCopy component:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacco_De_Zwart_0-1740728532572.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177988i0AD1BD03B125D63E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacco_De_Zwart_0-1740728532572.png" alt="Jacco_De_Zwart_0-1740728532572.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When executed the file is copied to :&lt;/P&gt;
&lt;P&gt;\mnt\Talend\working\InleesFile\inprocess\&lt;STRONG&gt;inlees_vessel_file.xlsx\&lt;/STRONG&gt;inlees_vessel_file.xlsx&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Why is there a sub-directory with the same name as the file (the &lt;STRONG&gt;bold&lt;/STRONG&gt; part) created ??? This behaviour is the same on run-time engine on linux as it is in Studio on a windows environment.&lt;/P&gt;
&lt;P&gt;Using the checkboxes for 'Create the directory if it doesn't exists' does not influence the result.&lt;/P&gt;
&lt;P&gt;Any help or suggestions are welcome.&lt;/P&gt;
&lt;P&gt;I use Studio Cloud API Services Platform (R2025-01v2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Feb 2025 07:46:50 GMT</pubDate>
    <dc:creator>Jacco_De_Zwart</dc:creator>
    <dc:date>2025-02-28T07:46:50Z</dc:date>
    <item>
      <title>Strange behaviour tFileCopy, creates sub-directory with file name it has to copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507761#M141811</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm using the tFileCopy component to move a file that need to be processed in an DI-Job.&lt;/P&gt;
&lt;P&gt;Based on context variables I perform the following :&lt;/P&gt;
&lt;P&gt;context.fileName = "inlees_vessel_file.xlsx"&lt;/P&gt;
&lt;P&gt;context.processFilePath =&amp;nbsp;"/mnt/Talend/working/InleesFile/inprocess/"&lt;/P&gt;
&lt;P&gt;the tFileCopy component:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacco_De_Zwart_0-1740728532572.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177988i0AD1BD03B125D63E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacco_De_Zwart_0-1740728532572.png" alt="Jacco_De_Zwart_0-1740728532572.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When executed the file is copied to :&lt;/P&gt;
&lt;P&gt;\mnt\Talend\working\InleesFile\inprocess\&lt;STRONG&gt;inlees_vessel_file.xlsx\&lt;/STRONG&gt;inlees_vessel_file.xlsx&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Why is there a sub-directory with the same name as the file (the &lt;STRONG&gt;bold&lt;/STRONG&gt; part) created ??? This behaviour is the same on run-time engine on linux as it is in Studio on a windows environment.&lt;/P&gt;
&lt;P&gt;Using the checkboxes for 'Create the directory if it doesn't exists' does not influence the result.&lt;/P&gt;
&lt;P&gt;Any help or suggestions are welcome.&lt;/P&gt;
&lt;P&gt;I use Studio Cloud API Services Platform (R2025-01v2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 07:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507761#M141811</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2025-02-28T07:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour tFileCopy, creates sub-directory with file name it has to copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507826#M141813</link>
      <description>&lt;P&gt;Have you tried using the value in&amp;nbsp;context.processFilePath&lt;STRONG&gt; (without the trailing slash)? E.g.&amp;nbsp;&lt;SPAN&gt;/mnt/Talend/working/InleesFile/inprocess&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 14:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507826#M141813</guid>
      <dc:creator>AmandeepDhakDT</dc:creator>
      <dc:date>2025-02-28T14:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour tFileCopy, creates sub-directory with file name it has to copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507883#M141814</link>
      <description>&lt;P&gt;Try removing the context.filename in your Destination directory.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 03:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2507883#M141814</guid>
      <dc:creator>BhuvanaRam</dc:creator>
      <dc:date>2025-03-01T03:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour tFileCopy, creates sub-directory with file name it has to copy</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2508013#M141821</link>
      <description>&lt;P&gt;yep !! that did the trick !&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for pointing me in the right direction&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 10:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Strange-behaviour-tFileCopy-creates-sub-directory-with-file-name/m-p/2508013#M141821</guid>
      <dc:creator>Jacco_De_Zwart</dc:creator>
      <dc:date>2025-03-03T10:38:24Z</dc:date>
    </item>
  </channel>
</rss>

