Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
My requirements is this:
1. Need to extract a pdf file into png files. If the pdf file has 5 pages, meaning it will have 5 png files with each page of pdf in each png.
2. Then, move the png files into another directory.
For requirement 1, I have done it using routine, call it using tjava.
For requirement 2, I have done it using solution given by rhall_2_0: https://community.talend.com/t5/Design-and-Development/resolved-How-to-copy-files-with-keeping-folde...
I manage to output the files and filepath via tlogrow and it all looks correct. But, it gives errors like below:
And it failed to copy the png files into the outputFilePath.
Please advice on what I did wrong. Thanks!
It is because of header .Process is trying to read "filetoCopy" as filename to copy.
You need to somehow exclude header information before passing filenames to tfilecopy.
Abishek,
Meaning that I need to eliminate the filepath in fileToCopy and only take the .png filename?
Regards.