[MarkLogic Dev General] File Upload Via HTML Form Problem
neil at bradley.co.uk
Thu Nov 19 03:31:53 PST 2009
I am trying to use a form to upload an XML file into a MarkLogic database,
but when my XQuery code tries to unquote the text in the package it reports
that the file is incomplete (it is truncated). I have confirmed this.
Here is the form I am using:
<form style="display:inline" name="test" action="Upload.xqy"
<input type="file" class="name" name="upload" size="50"
<input type="image" value="Upload" src="images/add.gif"
The file is 1.3MB in size, is this too big for some reason? Is there a
setting somewhere I can change to make a large file uploadable?
Or is this a different kind of problem? I have determined that I am
receiving the first 126,685 characters of the file, so only a small amount
of data is missing from the end. I think that is suspicious, as if there if
a buffering problem that just fails to include the last block of text.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General