You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi all,
So, i have 2 question:
1) I need to know if Talend can just open a file, if he can, which component?
2) I need to verify the file format, but how can i make it?
Thanks
Ryuk-
Offline

Hi Ryuk-
Q1: If you want to simply open a file, I think you might use tSystem to do this.
Q2: Use tFileProperties and get suffix name from basename column.
Regards,
Pedro
Offline

Hi Pedro,
Thanks for your answer, but i have a little problem with the tSystem component...
I have this in my component:
"cmd D:\Talend\TOS_DI-Win32-r78327-V5.0.2\workspace\test_CCBO\fichier_STR_standard_CCBO.txt"
But Talend display this error:
Séquence d'échappement non valide (les séquences valides sont \b \t \n \f \" \' \\) (APPROXIMATELTY IN ENGLISH: Invalid escape sequence (the valid sequences are \ b \ t \ n \ f \" \' \ \)
it's possible to know if the file is open?
Can you help me?
Best regards
Ryuk-
Last edited by Ryuk- (2012-05-10 11:47:55)
Offline

Hi Ryuk-
The command in tSystem should be this.
"cmd /c D:/Talend/TOS_DI-Win32-r78327-V5.0.2/workspace/test_CCBO/fichier_STR_standard_CCBO.txt"
Regards,
Pedro
Offline
Pages: 1