Hi,
I'm using the Java CoG kit for RFT file deletion, and I'm having a
problem with the deletion of directories. I'd like to be able to see the
difference between the (successfull) deletion of an existing directory
and an attempt to delete a non-existing directory. At the moment I'm
polling for:
rft.getStatus(parameters).getTransferStatus().getStatus().equals(TransferStatusTypeEnumeration.Finished)
But for both (existing and non-existing) directories the state will
change to 'Finished', whereas I would expect that the deletion of a
non-existing directory (like the deletion of a non-existing file) would
give me a 'Failed'.
Is there another way to detect whether a delete of a directory was
successful or not? Can anyone help me please?
Cheers,
Roelof Kemp
- [gt-user] RFT directory deletion Roelof Kemp
-