HTTPSend Methods |
The HTTPSend type exposes the following members.
Name | Description | |
---|---|---|
![]() |
GetFileHeader |
Returns the proper content information for
the file we are sending.
|
![]() |
GetFileTrailer |
Creates the proper ending boundary for the
multipart upload.
|
![]() |
GetFormFields |
Builds the proper format of the multipart
data that contains the form fields and
their respective values.
|
![]() |
GetResponse |
Make the request to the web server and
retrieve it's response into a text buffer.
|
![]() |
GetStream |
Determines if we have a file stream set, and
returns either the HttpWebRequest stream or
the file.
|
![]() |
SendFile | |
![]() |
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.
|
![]() |
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.
|
![]() |
SetFilename |
Used to signal we want the output to go to a
text file verses being transfered to a URL.
|
![]() |
SetHeader |
Allows you to add some additional header data
to be sent along with the transfer.
|
![]() |
WriteFile |
Reads in the file a chunck at a time then
sends it to the output stream.
|
![]() |
WriteString |
Mainly used to turn the string into a byte
buffer and then write it to our IO stream.
|