I've debeloped a LotusScript Agent handles a POST query encoded as multipart-data, in order to provide upload capabilities without using a Domino-generated form.
Inside the LotusScript code I get the POST request from the NotesSession.DocumentConte
nt")(0); this code returns a String containing the multipart message.
In order to test this agent, I made an HTML page containing a form like this:
<form method="POST" action="http://gaga/gogo.nsf/myAgent?OpenAgent
<input type="file" name="gugu" />
<input type="file" name="toto" />
and I can upload files from my local computer up to the Domino server.
This work fine with small files, but my problem is that when I try to upload BIG files, let's say 200KB (shouldn't be a big deal), the "Request_content" variable is NULL!!!!
My agent :
Dim session As New NotesSession
Set doc = session.DocumentContext
'incoming is empty
incoming = doc.GetItemValue("Request_
'Here, the size is right with small file, and around 576 Bytes with big files
Anybody to help me ?