1. zoho.htm
The contents inside this file is:
accept-charset="UTF-8">
<input type="hidden" name="content" value="http://www.hireanactuary.net/actuary/assumption.xls"> <br>
<input type="hidden" name="apikey" value="KEY">
<input type="hidden" name="output" value="editor">
<input type="hidden" name="mode" value="normaledit">
<input type="hidden" name="filename" value="assumption.xls">
<input type="hidden" name="skey" value="SECRET_KEY">
<input type="hidden" name="lang" value="en">
<input type="hidden" name="id" value="12345678">
<input type="hidden" name="format" value="xls">
<input type="hidden" name="saveurl" value="http://www.hireanactuary.net/actuary/saveURL.aspx">
<input type="submit" name="submit" value="Open/Edit">
</form>
2. The saveURL.aspx/saveURL.aspx.cs
It contains the following
For ASPX page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="saveURL.aspx.cs" Inherits="saveURL" %>
For ASPX.CS page:
public partial class saveURL : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
HttpPostedFile m_objFile;
string filename;
m_objFile = Request.Files["content"];
filename =Request.QueryString["filename"];
Request.Files["content"].SaveAs("C:\\inetpub\\wwwroot\\actuary\\" + filename);
}
}
I am
unable to save my data back to my server, I have already tried this approach as it is mentioned in the
Saving Document.
Thanks
Regards
Prithiraj Sengupta