Click or drag to resize
HTTPSend Methods

The HTTPSend type exposes the following members.

Methods
  Name Description
Public method GetFileHeader
Returns the proper content information for the file we are sending.
Public method GetFileTrailer
Creates the proper ending boundary for the multipart upload.
Public method GetFormFields
Builds the proper format of the multipart data that contains the form fields and their respective values.
Public method GetResponse
Make the request to the web server and retrieve it's response into a text buffer.
Public method GetStream
Determines if we have a file stream set, and returns either the HttpWebRequest stream or the file.
Public method SendFile
Public method SendTextAsFile
Transmits a file to the web server stated in the URL property. You may call this several times and it will use the values previously set for fields and URL.
Public method SetField
Allows you to add some additional field data to be sent along with the transfer. This is usually used for things like userid and password to validate the transfer.
Public method SetFilename
Used to signal we want the output to go to a text file verses being transfered to a URL.
Public method SetHeader
Allows you to add some additional header data to be sent along with the transfer.
Public method WriteFile
Reads in the file a chunck at a time then sends it to the output stream.
Public method WriteString
Mainly used to turn the string into a byte buffer and then write it to our IO stream.
Top
See Also