AS2 :: Sending return value from Server Side File Upload Handler

Is it possible to retrieve a return value onComplete from the page which does the actual file saving?

e.g.


<xml>
 <status>complete</status>
 <realpath>C:\some\folder\and\file
ame.jpg</realpath>
 <url>/file/name.jpg</url>
</xml>

Thank you