Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I 'm making a job to copy and rename files. My tfilecopy seems to copy and correctly rename the files.
Sadly files are created with good name but they're empty.
Files are 0 ko in good destination repertory...
here's a screenshot of the job : no error ... I don't understand what I have missed.
Hi,
Don't worry. Lets go back to basics. Please try the below instructions.
Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Hi,
Could you please provide the component screen shot and the business user case so that we will get more idea about the task?
Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
hi,
you need to provide more information - what in tMap? what settings for tFileCopy and etc
hi @phiibuntu,
Greetings of the day,
i would like to repeat the same as @nthampi mentioned, once you specify or attach a component view of Tfilecopy then the Community will able to guide you from misunderstanding to proper understanding.
Well humor apart!!..Pls check the settings of the component whether you have given the correct source path(from where you must copy the file) and correct destination path(from where you are going to paste the file),
and if you want to rename the file then by specifying the name enclosed in double quotes.
Pls attach the screenshot of tfilecopy.
Thanks
Ankit
the tFilecopy component screenshot :
the Tmap screenshot :
As you see the document_name come from inner join (mysql)
I need to copy file and change ID to document name in another repertory.
I hope I give you enough details.
My proble is that the document is not really copy with tfilecopy, only document name works with inner join from source file name to destination file name.
and the TIteratetoflow screenshot in case...
Hi,
Could you please check whether you are giving the full path for the source to do copy? I believe you are populating only document name.
Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
@phiibuntu wrote:
I hope I give you enough details.
of course - not 🙂
ok, we could guess - if join work - newColumns contain proper value (hope), but what about tFileCopy? is tFileCopy delete original file?
Hi,
Could you please select the check box for Fail on error?
Then it will show that your source path is not correct.
Warm Regards,
Nikhil Thampi
Please appreciate our members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
I think it is what I'm doing wrong.
in Tfilelist I give the full path for source file, but I don't know how can I do in Tmap to manage files.
I think tmpa I made only give document_name (file name) to Tfilcopy.
I hope I m clear with my bad english...
When I select the check box for Fail on error nothing more happens