[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Example 1 With Proxy Server
Note: This e-mail is subject to the disclaimer contained at the bottom
of this message.
_________________________________________________________________
I missed Scott's reply because I thought I'd found the solution with
the proxy parameters in the CFGHTTPSCH
Command on Friday night, and because of the switch from April to May
posting groups. It now works and I have the full sockets document
sitting happily in the ifs. Simple when you know how.
One of the problems with forums is that we have to expose our
ignorance every time we ask a question. In the early days of learning
a subject area it's all anarchy until we can amass enough facts and
concepts such that they intersect and start forming a pattern. My
stumbling across forward proxy settings in that command, and
references to the administration server were cul-de-sacs. The concept
of setting the 'pointer' to a proxy made sense to me at my current
level of knowledge. That any request to got outside our network would
then pass control to the proxy seemed a sensible idea. It never
occurred to me that we would have to explicitly set something in the
application code as that would mean it would have to be done every
time the program ran or we wanted a new process. Surely a universal
configuration setting is better than a run-time command repeated ad
nausea? That's not a criticism of Scott's code. There is probably a
technical reason why it's being done at a code level that I'm not
aware of at the moment.
I understand the concept of a client and a server, and that any
request is a client request that is answered by a server which
provides a response. What I've been uncertain about is how the client
makes the request. Because this is all under the HTTP banner, I
thought that there might be APIs that are provided by the HTTP Server
to go out. I have a feeling that this is not the case and that
requests are made via TCP using sockets?
So I put example1 into debug and tracked down through the calls. I
found all the procedures provided by the httpapir4 service program but
came to a dead-end at comm_BlockWrite. I presume this is located in
one of the modules or service programs used by the service program,
and that I don't have access to any of that source code.
I suppose what I need to learn is what all of the HTTPAPIR4 exported
procedures provide and how they are used in practice.
Thanks again.
_________________________________________________________________
The information transmitted in this message and its attachments (if
any) is intended only for the person or entity to which it is
addressed.
The message may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of
any action in reliance upon this information, by persons or entities
other than the intended recipient is prohibited.
If you have received this in error, please contact the sender and
delete this e-mail and associated material from any computer.
The intended recipient of this e-mail may only use, reproduce,
disclose or distribute the information contained in this e-mail and
any attached files, with the permission of the sender.
This message has been scanned for viruses.
_________________________________________________________________
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------