[Migrated content. Thread originally posted on 12 May 2008]
Hi Folks,I have been trying to get a program working that will connect to a web service so I can load information to the site. I used the "sockhtml.cbl" program found in the 8.0 installation sample directory as a basis for accomplishing this. The data returned from the web site is as follows:
==============================
HTTP/1.1 302 Found
Date: Mon, 12 May 2008 18:57:29 GMT
Server: Apache/1.3.33 (Unix) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Location: http://cenappsdev.redirectme.net/?f
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
0
===============================
I understand the 302 found message has to do with some sort of redirection going on but I'm not sure now what to do about it or where to go from here. I have attached the source program which uses C$SOCKET that makes the connection to the web site and a file that contains the information being sent "CENAPPS.WEB". Any information or help on this one would be greatly appreciated.
Ted
