<?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 Re: How cant get destination filename in tFileCopy component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243574#M30014</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;you can post a bug on the bugtracker and make it a feature request and ask for these parameters to be added to the "Basic Proposals" or whatever:&lt;BR /&gt;File Name&lt;BR /&gt;Destination Directory&lt;BR /&gt;Destination Filename&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;it looks like Destination Directory and Source Directory global variables are being added to tFileCopy: 4868 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Add the ability of coping an empty directory, rename '"Copy_DIRECTORYPATH"&lt;BR /&gt;to "SOURCE_DIRECTORY, add external global variable "DESTINATION_DIRECTORY"&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;the target version for that fix is, currently, TOS 3.0.0M4</description>
    <pubDate>Thu, 11 Sep 2008 20:36:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-09-11T20:36:52Z</dc:date>
    <item>
      <title>How cant get destination filename in tFileCopy component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243572#M30012</link>
      <description>Hi,
&lt;BR /&gt;Destination filename is composed with date and time and so is variable.
&lt;BR /&gt;Is there any way to get later on the flow this filename ?</description>
      <pubDate>Sat, 16 Nov 2024 14:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243572#M30012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: How cant get destination filename in tFileCopy component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243573#M30013</link>
      <description>hmmm, interesting, you're right. the only thing that shows up in the CTRL+SPACE list is tFileCopy_1.ERROR_MESSAGE (aka: ((String)globalMap.get("tFileCopy_1_ERROR_MESSAGE")) ) 
&lt;BR /&gt;you can post a bug on the bugtracker and make it a feature request and ask for these parameters to be added to the "Basic Proposals" or whatever: 
&lt;BR /&gt;FileName 
&lt;BR /&gt;DestinationDirectory 
&lt;BR /&gt;DestinationFilename 
&lt;BR /&gt; 
&lt;BR /&gt;but, in the meantime you could put a tJava component before your tFileCopy (or tJavaRow, depending on which one works in your job) and set the Destination Filename value to a context variable, and then call that context variable in tFileCopy. And then you could be able to call that context variable wherever else you want it</description>
      <pubDate>Thu, 11 Sep 2008 17:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243573#M30013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-11T17:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How cant get destination filename in tFileCopy component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243574#M30014</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;you can post a bug on the bugtracker and make it a feature request and ask for these parameters to be added to the "Basic Proposals" or whatever:&lt;BR /&gt;File Name&lt;BR /&gt;Destination Directory&lt;BR /&gt;Destination Filename&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;it looks like Destination Directory and Source Directory global variables are being added to tFileCopy: 4868 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Add the ability of coping an empty directory, rename '"Copy_DIRECTORYPATH"&lt;BR /&gt;to "SOURCE_DIRECTORY, add external global variable "DESTINATION_DIRECTORY"&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;the target version for that fix is, currently, TOS 3.0.0M4</description>
      <pubDate>Thu, 11 Sep 2008 20:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243574#M30014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-11T20:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: How cant get destination filename in tFileCopy component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243575#M30015</link>
      <description>Hi,
&lt;BR /&gt;Jessica is absolutely right. But if you would like to avoid the additional tJava you can use the following code in tFileCopy for your filename. This is possible because in java the value of an assignment is the value itself:
&lt;BR /&gt;
&lt;PRE&gt;context.fileName="C:/temp/files/"+TalendDate.getDate("CCYYMMDDhhmmss")+"_input.xml"&lt;/PRE&gt;
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Thu, 11 Sep 2008 21:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243575#M30015</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-11T21:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: How cant get destination filename in tFileCopy component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243576#M30016</link>
      <description>Perfect, thank you for all your answers.</description>
      <pubDate>Fri, 12 Sep 2008 12:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-cant-get-destination-filename-in-tFileCopy-component/m-p/2243576#M30016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-09-12T12:54:36Z</dc:date>
    </item>
  </channel>
</rss>

