Framework EDI Reference. Methods and Properties
ediHttpCfg.ReceiveVerb

Sets or gets the verb for receiving in an HTTP request.

Syntax:

Example:

Dim oEdiDoc As Fredi.ediDocument
Dim oTransports As Fredi.ediTransports
Dim oTransport As Fredi.ediTransport
Dim oHttpCfg As Fredi.ediHttpCfg
Dim sVerb As String

' Create instance of Framework EDI.
Set oEdiDoc = New Fredi.ediDocument

' Get transports object
Set oTransports = oEdiDoc.GetTransports

' Create single transport object for receiving document.
Set oTransport = oTransports.CreateTransport

' Get the HTTP config object.
Set oHttpCfg = oTransport.GetHttpCfg

' Get the HTTP verb for receiving or readnig file to internet.
sVerb = oHttpCfg.ReceiveVerb
Debug.Print "HTTP Receive Verb: " & sVerb

' Change HTTP verb
oHttpCfg.ReceiveVerb = "GET"

' Set required parameters for the upload.
oTransport.SetHTTP
oTransport.User = "Username"
oTransport.Password = "Password"
oTransport.Address = "255.255.255.255"
oTransport.TargetPath = "/test_folder/"

' Receive file.
oTransport.Receive "SampleEdiX12_850.X12"

oEdiDoc.Save App.Path & "\Output.Txt"

MsgBox "Done"