using a file gateway in a sequence invoked by a file portal


Ii have developped a sequence which is invoked by a file portal.
In one of the last steps of the sequence, the file being processed is moved to another folder depending on whether the execution of the sequence succeeded or not.

When the sequence is executed I get the following error in the DefaultComponentFactory.xbd.log:

com.softwareag.xbridge.exceptions.XException: the file can not be moved[slf5s.MESSAGE]

Does anybody know whether it is possible to move a file being processed by a sequence? Or does the file portal lock the file in some way?

Thank you for your answer,

Check to see if the other directory has write permission or not. Looks like permission issue.