How To know status of a file whether it is in processing or not in java which is platform independent? -
in file monitoring process if 1 file came , processed not check if file open , writing something..then how prevent moving of file without closing file.
do have control on program that's putting files in directory? put ".partial" on end of filename while file still being written, , rename remove ".partial" when writing done. if make java file-monitoring program ignore files names end in ".partial", it'll see files after they've been written out.
Comments
Post a Comment