File system management with tools like GridFTP and RFT is (in my humble opinion) a dubious thing. What we really need is some sort of file system service (or perhaps interact with the file system via gram), that way GridFTP and RFT could focus on issues in data transfer of data without having to semi-address issues of file systenm management.

But since life isnt so ideal.. It seems to me that you have uncovered a bug. Can you file a bug report with bugzilla.globus.org?

Roelof Kemp wrote:
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


Reply via email to