<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Yes, the MaestroAPI wraps the call to ApplyResourcePackage.<br>
An example:<br>
<br>
ServerConnectionI con = new HttpServerConnection(new
Uri(<a class="moz-txt-link-rfc2396E" href="http://localhost/mapguide">"http://localhost/mapguide"</a>), "Administrator", "admin", null, true);<br>
con.UploadPackage("c:\\package.mgp", null);<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
Jackie Ng skrev:
<blockquote cite="mid:1233119922040-2230440.post@n2.nabble.com"
 type="cite">
  <pre wrap="">The mapagent http endpoint exposes an ApplyResourcePackage function.

You could programatically HTTP post your package files to this mapagent url.

You might also be able to do this via the MaestroAPI library (I'm not
personally sure)

- Jackie


Sebastian NICIU wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi all, 
 
Is it possible to automatically load mgp packages ? 
At the moment I use MapGuide Site Administrator --&gt; Manage Packages--&gt;Load
package to load packages. 
I am trying to create maps without the user intervention because we have
to load more than 100 mgp files for a single synchronization.
 
Thanks 



_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>