Pako, Thank you for the explanation. It is good :)
The above code does not work for me when copying on network, when copy local it is so fast that I dont see if there is problem
My fix to this is to add the following:
f = open(filePath, 'ab+', 2)
fd = f.fileno()
size = path.getsize(filePath ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 5 matches
- Thu May 19, 2011 7:47 pm
- Forum: General Support
- Topic: Directory Watcher
- Replies: 35
- Views: 27866
- Sat Apr 30, 2011 7:23 pm
- Forum: General Support
- Topic: Directory Watcher
- Replies: 35
- Views: 27866
Re: Directory Watcher
There is a problem with this code.
AccessAllowed is triggered while the file is still being copied into the watched directory
(for example copy from network takes a long time)
AccessAllowed is triggered while the file is still being copied into the watched directory
(for example copy from network takes a long time)
- Sat Apr 30, 2011 7:02 pm
- Forum: General Support
- Topic: Directory Watcher
- Replies: 35
- Views: 27866
Re: Directory Watcher
No problem.
Please explain the line:
what does it do?
Please explain the line:
Code: Select all
check_list = [item[2][0] for item in eg.scheduler.__dict__['heap'] if item[1] and item[1].__name__ == 'CheckFileAccessFunction_1']- Fri Apr 29, 2011 8:18 am
- Forum: General Support
- Topic: Directory Watcher
- Replies: 35
- Views: 27866
Re: Directory Watcher
awesome thanks
Can u explain the check_list assignment.
I understand u skip its content
Can u explain the check_list assignment.
I understand u skip its content
- Mon Apr 25, 2011 9:06 am
- Forum: General Support
- Topic: Directory Watcher
- Replies: 35
- Views: 27866
Directory Watcher
Hi,
When i start copy large files (*.mkv), DirectoryWatcher event fired before the file finished the copy.
Thus resulting in all the automation process running while the file is still being copying into the monitored directory....
then when the file copy is finished, some-why the directory watcher ...
When i start copy large files (*.mkv), DirectoryWatcher event fired before the file finished the copy.
Thus resulting in all the automation process running while the file is still being copying into the monitored directory....
then when the file copy is finished, some-why the directory watcher ...