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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Lock file or check if file open

Hi,
Are there any component that can support us lock a file or check if that file is open?
Thanks for help!
Labels (2)
24 Replies
_AnonymousUser
Specialist III
Specialist III
Author

Hi shong,

Thanks for replying. I can understand your work pressure. But whoever posted previous post its true. If anybody answer for our post we will not get any notification, so we have to keep on monitoring this page. Anyway i will be waiting for your reply.
Regards,
Akshath
Anonymous
Not applicable

Hi Akshath
I have took a look at your job and found that there are some job design problem, I have redesigned it and email it to you.
I test the 'Wait for the file to be released' option on tWaitForFile on v5.3.1 and it works as expected, tWaitForFile starts to trigger next action only when the file is released (all the transfer finishes). I am not sure it was a bug on v5.2.2 the version you are using, if you still get problem on v5.2.2, try to download the latest version 5.3.1 and test it again.
Shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi shong,
Just wanted to give feedback.. WaitForFile we tested all possibilities. But tWaitForFile is not working as expected. And stackOverFolw they have mentioned that tWaitForFile wont work in linux.. So may be this is reason we are not getting over expected output from tWaitForFile.
I suggest you to test it, If its not working then please in next version try to release it. J
Regards,
Akshath Hegde
palkondatharun
Contributor
Contributor

help me shong to check if file is open or not

David_Beaty
Specialist
Specialist

Hi,

You could implement a software lock yourself within Talend - create a file called {file to lock}.LCK and put the datetime stamp inside it. then start using the file, if the LCK file exists already, it means its in use. When you are done using the file, delete the LCK file.