<?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: tFileCopy - not working, if file is used by another process in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232517#M22453</link>
    <description>Screenshot B2-2_Talend_CMD_result 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/269738/B2-2_Talend_CMD_result.pdf_20170111-0531.pdf" target="_blank"&gt;B2-2_Talend_CMD_result.pdf&lt;/A&gt;</description>
    <pubDate>Wed, 11 Jan 2017 13:28:57 GMT</pubDate>
    <dc:creator>Ste63571</dc:creator>
    <dc:date>2017-01-11T13:28:57Z</dc:date>
    <item>
      <title>tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232511#M22447</link>
      <description>Hallo, 
&lt;BR /&gt;I want to copy excel-files with "tFileList - iterate - tFileCopy". 
&lt;BR /&gt;In previous versions it works, although an excel-file, listed in tFileList-directory, is used. 
&lt;BR /&gt;Now I get the following message: 
&lt;BR /&gt; 
&lt;FONT color="#0433ff"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;&lt;I&gt;Starte Job J011_V1_Kopieren_aus_Verzeichnis am 19:45 10/01/2017.&lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; connecting to socket on port 3707&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; connected&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;Exception in component tFileCopy_1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;java.io.FileNotFoundException: C:\Users\Administrator\Desktop\Aufgabenmanagement-AM\Bereich 1\Aktiv\~$B1-PMT-Beruf und Familie - V7 - TESTKOPIE.xlsm (Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at java.io.FileInputStream.open(Native Method)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at java.io.FileInputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at java.io.FileInputStream.&amp;lt;init&amp;gt;(Unknown Source)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at org.talend.FileCopy.copyFile(FileCopy.java:40)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.tFileList_1Process(J011_V1_Kopieren_aus_Verzeichnis.java:476)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.runJobInTOS(J011_V1_Kopieren_aus_Verzeichnis.java:758)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.main(J011_V1_Kopieren_aus_Verzeichnis.java:617)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; disconnected&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#0433ff"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;&lt;I&gt;Job J011_V1_Kopieren_aus_Verzeichnis endet am 19:45 10/01/2017. &lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;I&gt;I installed the program&amp;nbsp;&lt;/I&gt;"tFileList - iterate - tFileCopy", because I cannot ensure that all files are closed. 
&lt;BR /&gt;Have anyone an idea, how I can copy a file although it is open/in use? 
&lt;BR /&gt;Thanks for your help 
&lt;BR /&gt;Stefan</description>
      <pubDate>Sat, 16 Nov 2024 10:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232511#M22447</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2024-11-16T10:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232512#M22448</link>
      <description>Hi, 
&lt;BR /&gt;Have you tried to use&amp;nbsp; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tfilelist--&amp;gt;tfilearchive--&amp;gt;tfilecopy? In this way, you can&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;move the zipped file.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/55433/1.png_20170110-1932.png" /&gt; 
&lt;IMG src="https://community.talend.com/legacyfs/online/membersTempo/55433/2.png_20170110-1932.png" /&gt;</description>
      <pubDate>Wed, 11 Jan 2017 03:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232512#M22448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-11T03:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232513#M22449</link>
      <description>Hi Sabrina, 
&lt;BR /&gt;thanks for your proposal. But it does not work. 
&lt;BR /&gt;In the folder of tFileList_1 there are EXCEL-files. It is working, if all excel-files are closed. If one excel-file is in use, it is not working and you get the following message: 
&lt;BR /&gt; 
&lt;FONT color="#0433ff"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;&lt;I&gt;Starte Job J011_V1_Kopieren_aus_Verzeichnis am 09:52 11/01/2017.&lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; connecting to socket on port 3823&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; connected&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;Exception in component tFileArchive_1&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;java.io.IOException: This archive contains unclosed entries.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.finish(ZipArchiveOutputStream.java:415)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream.close(ZipArchiveOutputStream.java:808)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at com.talend.compress.zip.Zip.doZip1(Zip.java:172)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at com.talend.compress.zip.Zip.doZip(Zip.java:109)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.tFileList_1Process(J011_V1_Kopieren_aus_Verzeichnis.java:494)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.runJobInTOS(J011_V1_Kopieren_aus_Verzeichnis.java:919)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#ff2600"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.main(J011_V1_Kopieren_aus_Verzeichnis.java:778)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt; disconnected&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#0433ff"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Courier"&gt;&lt;I&gt;Job J011_V1_Kopieren_aus_Verzeichnis endet am 09:52 11/01/2017. &lt;/I&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;I hope you have another idea 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Stefan</description>
      <pubDate>Wed, 11 Jan 2017 09:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232513#M22449</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-11T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232514#M22450</link>
      <description>Hi Sabrina,&lt;BR /&gt;I tried to manage the problem with "XCOPY".&lt;BR /&gt;When I do this in the CMD-Editor, it is working (see file "B1_cmd-Editor"; here you see the editor and the command as well the copied files (in folder test_ziel). Also you see the open excel-file).&lt;BR /&gt;&lt;BR /&gt;Now I tried to realize this with Talend (command "tSystem") (see "B2-1_Talend_CMD_component"). The result after starting the job you see in "B2-2_Talend_CMD_result. The files are not copied.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What is wrong in my Talent-Job? The command works fine in the editor but not in the Talend job?&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Best regards&lt;BR /&gt;Stefan</description>
      <pubDate>Wed, 11 Jan 2017 13:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232514#M22450</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-11T13:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232515#M22451</link>
      <description>Screenshot B1_cmd-Editor 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/269738/B1_cmd-Editor.pdf.pdf" target="_blank"&gt;B1_cmd-Editor.pdf.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232515#M22451</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-11T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232516#M22452</link>
      <description>Screenshot B2-1_Talend_CMD_component 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/269738/B2-1_Talend_CMD_component.pdf_20170111-0530.pdf" target="_blank"&gt;B2-1_Talend_CMD_component.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232516#M22452</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-11T13:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232517#M22453</link>
      <description>Screenshot B2-2_Talend_CMD_result 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/269738/B2-2_Talend_CMD_result.pdf_20170111-0531.pdf" target="_blank"&gt;B2-2_Talend_CMD_result.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 11 Jan 2017 13:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232517#M22453</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-11T13:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: tFileCopy - not working, if file is used by another process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232518#M22454</link>
      <description>Hallo community, 
&lt;BR /&gt;I do not know, why the "tsystem"-command is not working, although the command is working in the cmd-editor. This problem is not solved. 
&lt;BR /&gt;But I managed the problem with the following activities: 
&lt;BR /&gt;Problem: 
&lt;BR /&gt; 
&lt;BR /&gt;copy excel-file when the excel-file is open/in use 
&lt;BR /&gt; 
&lt;BR /&gt;Solution: 
&lt;BR /&gt; 
&lt;BR /&gt;create bat-file &amp;nbsp;with content "cmd /c xcopy /E &amp;nbsp;C:\Pfad\*.* C:\Zielpfad" (all files and directories are copied, even if they are open) 
&lt;BR /&gt;use "tsystem"-command with "cmd /c c:/Pfad/Datei.bat" 
&lt;BR /&gt;This is probably not the most elegant method, but it works. (To mention it again: tFileCopy is not working by opened excel-files) 
&lt;BR /&gt;If anybody have an idea, why "tsystem" &amp;nbsp;is not working directly with "cmd /c xcopy /E &amp;nbsp;C:\Pfad\*.* C:\Zielpfad" (see examples above), I would be glad to get some hints. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Stefan</description>
      <pubDate>Sun, 15 Jan 2017 23:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileCopy-not-working-if-file-is-used-by-another-process/m-p/2232518#M22454</guid>
      <dc:creator>Ste63571</dc:creator>
      <dc:date>2017-01-15T23:30:10Z</dc:date>
    </item>
  </channel>
</rss>

