<?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: tFileArchive Behavior in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255269#M38022</link>
    <description>Hi
&lt;BR /&gt;You can try the tFileCopy component.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Mon, 01 Aug 2011 11:25:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-01T11:25:10Z</dc:date>
    <item>
      <title>tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255258#M38011</link>
      <description>I'm new to Talend as of 2.3.2 and was attempting the following simple scenario: 
&lt;BR /&gt;1) Fetch a number of files with tFTPGet (this part was successful) 
&lt;BR /&gt;2) After successful completion, use tFileArchive to zip up the five txt files into one archive using a date-time stamp. 
&lt;BR /&gt;Upon execution, I'm experiencing the following exception: 
&lt;BR /&gt;Starting job GetFiles at 14:09 20/05/2008. 
&lt;BR /&gt;Exception in component tFileArchive_1 
&lt;BR /&gt;java.io.FileNotFoundException: C:\Documents\Manufacturers\ACME\ACME Data Stage\ACME_Data_2008-05-20.zip (The system cannot find the path specified) 
&lt;BR /&gt; at java.io.FileOutputStream.open(Native Method) 
&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at java.io.FileOutputStream.&amp;lt;init&amp;gt;(Unknown Source) 
&lt;BR /&gt; at texasinstruments.getfiles.GetFiles.tFileArchive_1Process(GetFiles.java:294) 
&lt;BR /&gt; at texasinstruments.getfiles.GetFiles.tFTPGet_1Process(GetFiles.java:219) 
&lt;BR /&gt; at texasinstruments.getfiles.GetFiles.runJobInTOS(GetFiles.java:447) 
&lt;BR /&gt; at texasinstruments.getfiles.GetFiles.main(GetFiles.java:361) 
&lt;BR /&gt;Job GetFiles ended at 14:12 20/05/2008. 
&lt;BR /&gt;I was under the impression that tFileArchive creates the archive file on the fly. According to the exception it appears as though the archive has to exist beforehand. There is no documentation on tFileArchive as of the latest components guide, nor can I find it anywhere. 
&lt;BR /&gt;Any guidance would be appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 14:21:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255258#M38011</guid>
      <dc:creator>AndyBrown</dc:creator>
      <dc:date>2024-11-16T14:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255259#M38012</link>
      <description>Hello andybrown 
&lt;BR /&gt;Yes, you are right. Currently, it will throws exception if the folder doesn't exist. I have reported a 3855. 
&lt;BR /&gt;To avoid this problem, you should create the folder first and select it in TOS. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 21 May 2008 04:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255259#M38012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-21T04:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255260#M38013</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello andybrown &lt;BR /&gt;Yes, you are right. Currently, it will throws exception if the folder doesn't exist. I have reported a 3855.&lt;BR /&gt;To avoid this problem, you should create the folder first and select it in TOS.&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks for the response. Did you mean "it will throw the exception if the 'archive' file doesn't exist"? The folder "ACME Data Stage" actually does exist in my scenario. It is the file named "ACME_Data_2008-05-20.zip" that does not exist. I just want to make sure that is what you meant. 
&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 21 May 2008 04:52:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255260#M38013</guid>
      <dc:creator>AndyBrown</dc:creator>
      <dc:date>2008-05-21T04:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255261#M38014</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Did you mean "it will throw the exception if the 'archive' file doesn't exist"? The folder "ACME Data Stage" actually does exist in my scenario. It is the file named "ACME_Data_2008-05-20.zip" that does not exist.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I mean it will throw exception if the archive file folder doesn't exist.(see the screenshot) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCG7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150879iC7CCC4CA82CA047E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCG7.png" alt="0683p000009MCG7.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 21 May 2008 06:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255261#M38014</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-05-21T06:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255262#M38015</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hello&lt;BR /&gt;
     &lt;BLOCKQUOTE&gt;
      &lt;TABLE border="1"&gt;
       &lt;TBODY&gt;
        &lt;TR&gt;
         &lt;TD&gt;Did you mean "it will throw the exception if the 'archive' file doesn't exist"? The folder "ACME Data Stage" actually does exist in my scenario. It is the file named "ACME_Data_2008-05-20.zip" that does not exist.&lt;/TD&gt;
        &lt;/TR&gt;
       &lt;/TBODY&gt;
      &lt;/TABLE&gt;
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I mean it will throw exception if the archive file folder doesn't exist.(see the screenshot)&lt;BR /&gt;Best regards&lt;BR /&gt; shong&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Got it. Thanks.</description>
      <pubDate>Wed, 21 May 2008 12:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255262#M38015</guid>
      <dc:creator>AndyBrown</dc:creator>
      <dc:date>2008-05-21T12:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255263#M38016</link>
      <description>Hi,&lt;BR /&gt;    How do i create a archive file with data time stamp automatically using the tfilearchive component. My component settings are:&lt;BR /&gt;Directory   :   "C:\Test\*.xls"&lt;BR /&gt;Archive File:   "C:\Done\new.zip"&lt;BR /&gt;How do i get my component to zip file with data time stamp, so tht it doesn't overwirte the zip everytime i run this component.</description>
      <pubDate>Sat, 09 Aug 2008 21:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255263#M38016</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-08-09T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255264#M38017</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;How do i get my component to zip file with data time stamp, so tht it doesn't overwirte the zip everytime i&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You can set the archive file name like this, for example:
&lt;BR /&gt;
&lt;PRE&gt;"C:\Done\"+TalendDate.formatDate("yyyy-MM-dd HH-mm-ss",TalendDate.getCurrentDate())+" new.zip"&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 11 Aug 2008 04:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255264#M38017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-08-11T04:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255265#M38018</link>
      <description>ThankQ Shong.</description>
      <pubDate>Tue, 12 Aug 2008 20:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255265#M38018</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-08-12T20:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255266#M38019</link>
      <description>Hi, How can I archive an individual file????? without the folder. 
&lt;BR /&gt;I have put some number of files in my folder and I want to archive the files in separate zip files. 
&lt;BR /&gt;Currently, in my knowledge, tFileArchive is only archiving the directory, right???? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 01 Aug 2011 10:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255266#M38019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-01T10:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255267#M38020</link>
      <description>Untick the All Files option and add the file masks for the files you want to zip.&lt;BR /&gt;The mask can be for a specific type of file:&lt;BR /&gt;"*.txt"&lt;BR /&gt;or and individual file:&lt;BR /&gt;"samplefile.txt"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Brandon</description>
      <pubDate>Mon, 01 Aug 2011 10:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255267#M38020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-01T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255268#M38021</link>
      <description>Thanks Brandon,
&lt;BR /&gt;It's working now,
&lt;BR /&gt;now one step further,
&lt;BR /&gt;is there any way to move and archive a file????
&lt;BR /&gt;like the "MOVE" command in dos???
&lt;BR /&gt;I want to archive my file and save it in archived folder then delete the original file.
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 01 Aug 2011 11:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255268#M38021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-01T11:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255269#M38022</link>
      <description>Hi
&lt;BR /&gt;You can try the tFileCopy component.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 01 Aug 2011 11:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255269#M38022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-01T11:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255270#M38023</link>
      <description>Hi Kyaw Lwin Phyo, 
&lt;BR /&gt;shong description is just fine...you schould use first tFileArchive to archive files, you don't need to move the archive file as soon as you can create it directly in destination folder, but in case, you need to move it explicitly you use tFileCopy where is option to delete source file after copy (here is one thing which could break you into problem if you need to keep the date of file same as source), and then you just use tFileDelete to delete source files. 
&lt;BR /&gt;Ladislav</description>
      <pubDate>Tue, 02 Aug 2011 09:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255270#M38023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-02T09:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255271#M38024</link>
      <description>Hi, 
&lt;BR /&gt;I have one more question. 
&lt;BR /&gt;I want to give my file's name with a time stamp 
&lt;BR /&gt;It will be like "filename_yyyyMMdd_HHmm.dat" 
&lt;BR /&gt;But I have to find this file again in the job so, I want to store the "yyyyMMdd_HHmm" value in a context or variable. 
&lt;BR /&gt;and assign that context or variable to the file name. 
&lt;BR /&gt;Can you direct me how it can be done??? 
&lt;BR /&gt;I've tried making a context of type string whose value is TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate()) 
&lt;BR /&gt;But when i run it i got a file not found exception (I'm to create a file not find for the first time). 
&lt;BR /&gt;and I think the context returns as a string of "TalendDate.formatDate("yyyyMMdd_HHmm",TalendDate.getCurrentDate())" not the actural date time value. 
&lt;BR /&gt;Thank You.</description>
      <pubDate>Tue, 02 Aug 2011 10:07:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255271#M38024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-02T10:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: tFileArchive Behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255272#M38025</link>
      <description>This has been on answered on you other thread 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCp4hCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/File-name-with-a-timestamp/td-p/99356&lt;/A&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Brandon</description>
      <pubDate>Tue, 02 Aug 2011 14:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileArchive-Behavior/m-p/2255272#M38025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-02T14:45:21Z</dc:date>
    </item>
  </channel>
</rss>

