B4J Question Watch Folder

ludogomez

Member
Licensed User
Longtime User
Hi,

I want to monitor a folder to detect new files.
When new files are coming (it's big files : video files) I want to be sure the files are ready to process.

How can I check this ?

I try to check the filesize, but in Windows, when I start the copy , the file size print the final size, not the growing size.
It's also the same for the LastModified.

Thanks

Best regards
 

ludogomez

Member
Licensed User
Longtime User
Thanks for the response,

The file copy is initiate by the user on windows, not with my software. I want to monitor a folder.
 
Upvote 0

ludogomez

Member
Licensed User
Longtime User
Hi,

Thanks for the advice,

I just initialize the file with randomaccessfile with Try.
If the randomaccessfile can't open the file, The copy isn't finish.

Regards
 
Upvote 0
Top