Example files
An example for this adapter is located at install_dir/examples/adapters/http.
-URL HTTP//user1:test@puff:8080/c:/test/tst.htm
The adapter specifies the original.htm file to be used as the data source. The -TV adapter command specifies that the adapter generate a verbose trace file containing a log of all activity and events occurring while the adapter is retrieving data. The -REDIR 3 adapter command specifies that the HTTP Adapter will follow three file redirections (or "document moved" messages) before the file transfer request fails.
-IAHTTP1 '-URL HTTP://user1:test@puff:8080/c:/test/test.htm'
This example command string causes the file test.htm to be retrieved from host server puff.
The format for specifying commands is:
M4HHTP_OPT=adaptercommands
where adaptercommands are the HTTP Adapter commands in the list of commands.
The format for specifying a command file is:
M4HTTP_OPT=@filename.txt
where filename.txt is the file containing HTTP Adapter commands. Always precede the command file name with @.