Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have to read the file as byte and store the data and length of the content of the file. How can we achieve this in talend.
Kindly anyone share the java code and job screenshot. Im using Talend 6.3.
Thanks,
Chaitra CP
Hello,
What's your input source? The Json file, excel file or XML file? You could use tJava component to convert the original file to byte[] or create a custom routine to achieve it.
Could you please describe your requirements more specific?
Best regards
Sabrina
Hi
tFileInputRaw can read a file as a string or byte[] or InputStream, what do you want to do next?
Regards
Shong
Hi @Shicong Hong & @Xiaodi Shi ,
Thanks. We have converted the data into bytes. But i need few more inputs. Kindly help me on this.
I need to read the .txt file and store the data in bytes and upload the files into SharePoint . Its working fine in tRest component.
Is it possible to achieve the same thing in tRestClient component. Could you please attach the code/Scressnhot with tRestclient component.
Thanks,
Chaitra CP
Hi @Shicong Hong , @Xiaodi Shi ,
Kindly help me on this.
Thanks & Regards,
Chaitra CP