Hallo,
I want to copy excel-files with "tFileList - iterate - tFileCopy".
In previous versions it works, although an excel-file, listed in tFileList-directory, is used.
Now I get the following message:
Starte Job J011_V1_Kopieren_aus_Verzeichnis am 19:45 10/01/2017.
connecting to socket on port 3707
connected
Exception in component tFileCopy_1
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)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.talend.FileCopy.copyFile(FileCopy.java:40)
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)
at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.runJobInTOS(J011_V1_Kopieren_aus_Verzeichnis.java:758)
at am_sammeln_v1.j011_v1_kopieren_aus_verzeichnis_0_1.J011_V1_Kopieren_aus_Verzeichnis.main(J011_V1_Kopieren_aus_Verzeichnis.java:617)
disconnected
Job J011_V1_Kopieren_aus_Verzeichnis endet am 19:45 10/01/2017.
I installed the program "tFileList - iterate - tFileCopy", because I cannot ensure that all files are closed.
Have anyone an idea, how I can copy a file although it is open/in use?
Thanks for your help
Stefan