Programatically Build and Post Form

From: Tom Donohue (tdonohue60067_at_community.nospam)
Date: 12/13/04


Date: Mon, 13 Dec 2004 08:33:13 -0800

Hello All:

I've got, what appears to be a simple problem, but am having a brain cramp
on determining the best way to implement. Here is the requirement (I am using
ASP.net v1.1)

User enters information in web form (OK)
User submits form (OK)
On form submission, parse data and store as XML to a file on the server (OK)
Automatically send the XML file to a remote server as an HTTP POST (Problem)

I've investigated the HTTP Response object and haven't found the right way
of capturing the XML file, applying the HTTP Header, and Posting this to the
external page. Creating the text string w/
<Form...MimeType=multipart/form-data... Input Type=File... etc is not a
problem. The problem is how to take this string and stream it to the
appropriate location.

Thanks for any help you can provide.

Tom



Relevant Pages

  • Re: URL2PDF()
    ... Ok, it can be done with low level http functions,....Of course there will be ... *** Maximum String size for the wwResponseString class ... DEFINE CLASS wwHTTP AS Custom ... DECLARE INTEGER InternetCloseHandle; ...
    (microsoft.public.fox.vfp.reports.printing)
  • Do it yourself Webserver (Teil 1)
    ... HTTP, das "Webprotokol", basiert auf Sockets und TCP/IP. ... public WebServerthrows IOException { ... Ein Socket ist eine bidirektionale Verbindung und man kann die vom ... private final String method; ...
    (de.comp.lang.java)
  • All commands are equal, but some are more equal than others.
    ... just finished implementing a HTTP webcrawler using the http package ... be able to scramble a string. ... Very surprised AH starts searching the Tcl wiki to find out what might ... % <command to add subcommands to namespace ensemble> string scramble ...
    (comp.lang.tcl)
  • Pattern matching question for Swindle
    ... I'm using PLT scheme with Swindle and SSAX to write a simple program which locates and plays songs using the iTunes Music Library XML file. ... (string "Rhapsody in Blue") ...
    (comp.lang.scheme)
  • Re: Read XML file using OOP
    ... // Open the XML file that has the XML text. ... string make = gcnew String carNode->Attributes ... private int _milage; ...
    (microsoft.public.dotnet.languages.csharp)