Hi
You can use java api, to look for the done file name.
You know the target file name.
Then do a file list and check if there is a done file name for it.
On Tue, Dec 3, 2019 at 3:52 PM WEIQUAN YUAN wrote:
>
> Thanks, Claus. I agree with you and I implement the GenericFileFilter as
> below
>
>
Thanks, Claus. I agree with you and I implement the GenericFileFilter as
below
public class FileTransferFilter implements GenericFileFilter {
@Override
public boolean accept(GenericFile pathname) {
// we don't accept any files starting with skip in the name
return !pathname.getFileName(
Hi
Instead of using doneFileName which AFAIR is a 1:1 with file and done
file, then you can implement a custom file filter and configure on the
file endpoint, and then return true|false whether you can find a done
file name yourself via the java api.
On Mon, Dec 2, 2019 at 9:41 PM WEIQUAN YUAN
I have one requirement to transfer file depends on the done file name
for example, in the drop folder inputDir, if there is file named
123456.done dropped, I need to move all the file whose name including
123456 to outputDir. if there is file named 456789.done dropped, I need to
move all the files