Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] two little problem, just open a file and verify the file format

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-
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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

View solution in original post

4 Replies
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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-
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Hi Pedro,
Thanks for your help.
Best Regards
Ryuk-