Anyone have a POST example?

Ok, I learn best by example and so far I’m having difficulty finding an example I can follow.

I have, in the past, used an Web agent to POST information. It just spits out HTML as a POST form. This works, but of course, it doesn’t wait around for a response so unless the output is small, it never completes sending the information since it doesn’t wait around for a reply from the other server.

I need an example of how to properly POST information. I have some data that is in excess of 1MB and I need to POST it to the other server. How do I do this? How do I make my server wait around until the entire contents are posted successfully?

I’ve seen the example on nsftools called “URL Fetcher” but I can’t seem to determine what code is for POST. Or course, not having any real background on how it all works confuses me even more. But I’m willing to work at it. I just need a little push in the right direction.

Any thoughts, help, examples? It is much appreciated.

Tim Williams

Subject: Anyone have a POST example?

I am not very sure … what type of content you are willing to POST from one server to another? I have used the NSFTools URLFetcher code to download the ZIP files from source server which saves it in Temp directory on the destination server and then unzip it in HTML directory inside Domino, using dynaZip.dll (thats a different case). It woked like charm

… if you have same kind of requirement … post here … let us see what best can be done !

Regds

Vinit

Subject: RE: Anyone have a POST example?

I eventually need to POST a file as you mentioned. But I at least in the interim, until I can figure this stuff out, I need to POST HTML that has been base64 encoded. Any thoughts on how I do this, either in a different example or in the nsftools urlFetcher tool.

Thank you.