Expose Solution Import/Export Functionality to programmer

Hi Guys,

Would it be a problem to programmatically expose the solution import/export functionality??

I think it would be awsome to give a programmer essentially the same functionality as the server admin page does for importing, perhaps through the IServerAccess interface.

i.e.

public void importSolution(java.io.OutputStream src, java.util.Properties p) 

public void exportSolution(java.io.InputStream dest, java.util.Properties p)

Thanks,
Sean

Hi Sean, if I am not mistaken antonio (forum handle) has been playing with using the html plugin for importing a (new) solution.

Maybe checking for his postings will help you on the way. Basically he uses the plugin to hook into the import functionality of the web-admin.

Thanks Marcel,

Yeah I think that way is do-able.
I’ve used the HTTP poster to do file uploads.

Programmatic exporting would be slick though!