upload file simultaneously
Hi guys,
I have assigned a task to upload chunk of files simultaneously in different folder. So I guess java executor concurrency is the best choice. ... correct me if this is wrong. For instance, the first thread start, it scan thru the directies and get all the files info. then it start locking the first file in the list. the second thread also doing the same thing but once it try to lock the file but the file is already locked, it will perform a lock again for the 2nd file in it list. ... same for 3rd, 4th 5th ...thread. Is this reliable? or anyone know if there's any tools out there can do the same thing?
Thanks & Regards,
Mark

