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: 
_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,
Even i have tried with iterate in tWaitForFile, But tWaitForFile will not wait file transfer to complete. Please suggest a appropriate solution for this.
Thanks and Regards,
Mithun
Anonymous
Not applicable

Hi
Both job running parallely.

Why do you run the two jobs parallely? Run the job 2 first, tWaitForFile will monitor the specified directory and trigger the next action once a new file is created, and then run any other jobs.
Shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi shong,
Thanks for reply shong. That's our requirement. In our project, file will be transferring from remote server. So other job should wait completion of file transfer.
"Is this possible?? there is any way to achieve this". Please suggest any possibilities for this scenario.
Regards,
Akki
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
As u have mentioned tWaitForFile will trigger on next action, But i want other job to wait until FTP completes its transmission.
"For ex: When one process is writing to file other process should not be able to read that file. "
Regards,
Mithun
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
Please advice me because i am running out of time.
Regards,
Akki
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
Can Anybody suggest answer please...
Thanks and regards,
Mithun
Anonymous
Not applicable

Hi Mithun
Job1 and Job2 are two separated jobs in your case, right? As I suggested, run Job2 (contains tWaitForFile component) first to make tWaitForFile keep monitor the specified folder and trigger next action once a new file arrives.
If I don't understand your request well, can you please export the jobs and email them to me?
Shong
_AnonymousUser
Specialist III
Specialist III
Author

Hi shong,
I have sent the mail to you. Please find the attachment in it.
Regards,
Akshath
_AnonymousUser
Specialist III
Specialist III
Author

Hi,
It's very sad that many of questions are still unanswered in talend forge!!! It is not good for talend as well as for the us (talend user). People will be tired of waiting for answer. I have been expecting answer for AKSHATH question but there is no result here. I think it better, not to ask quetion's from talend forge. If there is no answer then why we have to waste our time in posting questions.

-----------------
From,
Talend User
Anonymous
Not applicable

Hi Akshath
I have received your email and your job, but we have so many topics/questions to read and answer each day, please notify your reply to me if I miss your topic next time. I will try to take a look at your job and reply you today.
Shong