Xen Project Q&A Forum: First Line Help for Simple Questions
This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.
I would like to use the XenAPI for JAVA to upload and download file from VM in the Xenserver.
Does anyone know how to do that or it is impossible to do that?
you probably want to look at http://www.xenserver.org/partners/developing-products-for-xenserver.html
There are certainly JAVA API bindings for XAPI (see http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/sdk.html#language_bindings-java).
I would assume you shoul dbe able to do this via the VM (or console) objects, but personally I don't know the API well enough to know whether there is a set of APIs to do this. It's probably best to ask the question on either firstname.lastname@example.org, ask on the #xapi IRC channel or on http://www.xenserver.org/discuss-virtualization/q-and-a.html