<div dir="ltr">Hi Thomas,<div><br></div><div>you can create a temporary project before importing the content. This way only the imported content will be published. We use the following:</div><div><br></div><div><div><span class="" style="white-space:pre"> </span>createDefaultProject "[Project Name]" "[Description]"</div><div><span class="" style="white-space:pre"> </span>setCurrentProject "[Project Name]"</div><div><br></div><div><span class="" style="white-space:pre"> </span>...</div><div><br></div><div><span class="" style="white-space:pre"> </span>publishProjectAndWait</div><div><span class="" style="white-space:pre"> </span>deleteProject "[Project Name]"</div></div><div><br></div><div>Stephan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-24 15:30 GMT+02:00 Thomas Schmidt <span dir="ltr"><<a href="mailto:t.schmidt@md-network.de" target="_blank">t.schmidt@md-network.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have some data (plain HTML files and Pictures) which are generated by some reporting tools. I would like to publish those in OpenCMS and make use of OpenCMS permission system.<br>
<br>
What is the recommended way of importing static resources automatically from the server filesystem to the VFS ?<br>
<br>
I tried to do that by OpenCMS shell - this works - but apparently I can only publish in general by giving command publishProjectAndWait(), which will publish apparently automatically other things from other users (seems so that in past there was something like publishResource(String) command which is not available anymore).<br>
I tried as well to configure a Synchronisation with a folder - which was not working (and would be less preferred).<br>
<br>
<br>
Many Thanks<br>
Kind Regards<br>
<span class="HOEnZb"><font color="#888888">Thomas Schmidt<br>
______________________________<wbr>_________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" target="_blank">http://lists.opencms.org/cgi-<wbr>bin/mailman/listinfo/opencms-<wbr>dev</a><br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>