<div dir="ltr">Hi<div><br></div><div>Right now i can't see this page. <a href="http://www.opencms-wiki.org/wiki/Write_a_file_programatically">http://www.opencms-wiki.org/wiki/Write_a_file_programatically</a> in it you could find a way to create a resource and then publish it </div><div>Some one else publish the code to create a resource <a href="http://opencms.996256.n3.nabble.com/Create-resource-programatically-td15459.html">http://opencms.996256.n3.nabble.com/Create-resource-programatically-td15459.html</a> </div><div><br></div><div>You should see the javadoc of<span class="inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> </span><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px">CmsObject </span><span class="inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> you can do a lot of thing with it. </span></div><div><span class="inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"><br></span></div><div><span class="inbox-inbox-Apple-converted-space" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px">Regards</span></div></div><br><div class="gmail_quote"><div dir="ltr">El lun., 24 de oct. de 2016 a la(s) 19:10, 楊博凱 <<a href="mailto:ken@thesys.com.tw">ken@thesys.com.tw</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="gmail_msg">你要先儲存它至offline, 再利用api  publish它至online 版本。</p>
<div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">2016年10月25日 上午12:38,"Qi Zhang" <<a href="mailto:kksjtu@gmail.com" class="gmail_msg" target="_blank">kksjtu@gmail.com</a>>寫道:<br type="attribution" class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Hi everyone,<br class="gmail_msg"><br class="gmail_msg"></div>I need to<b class="gmail_msg"><span style="color:rgb(0,0,0)" class="gmail_msg"> store</span> </b>submited web form <b class="gmail_msg">data</b> information<b class="gmail_msg"> into</b> a text<b class="gmail_msg"> file</b> (doesn't matter where, as long as reachable). Unfortunatelly I just got to know it is not allowed to have write access in online project.<span style="color:rgb(0,0,0)" class="gmail_msg"> <span style="background-color:rgb(255,255,255)" class="gmail_msg"><b class="gmail_msg">Anyone has idea of how to archive this?</b></span></span><br class="gmail_msg"><br class="gmail_msg"></div>I've tried to switch context to offline context. But it only works when I test it in the workspace. In the published real webpage it won't work with error HTTP 500..<br class="gmail_msg"><br class="gmail_msg"></div>Thanks a lot in advance!<br clear="all" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg">-- <br class="gmail_msg"><div class="m_-7225536183102109358m_7010192535923813676m_4426679182581046515gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Best regards,<br class="gmail_msg"></div><div dir="ltr" class="gmail_msg">Qi Zhang<br class="gmail_msg"></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br class="gmail_msg">_______________________________________________<br class="gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg"></blockquote></div></div>
_______________________________________________<br class="gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>