[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Post to aspx (This time w files attached)



Reading the debug log...

The first section says what version you are using. If not in production use...I'd upgrade to the Beta code. It is pretty clean and helps to recreate problems on the latest version. (http://www.scottklement.com/httpapi/beta/) 

The next section just sets the stage. Shows the certificate - so that says you are using https:

do_post(): - this starts the important stuff.
POST the path where the data is being sent
Host: the host that is getting the data being sent

Sendraw(): indicates what data you are sending. Looks pretty screwed up as it is taking the data directly from the streamfile and shipping it off to the server. So, you are sending data!

CCSID of httppost.txt? Maybe the service doesn't know how to interpret the encoding of the data you are sending? I am surprised you could view the data correctly using notepad or whatever you opened it in. If you WRKLNK on the httppost.txt file and use option 5 - do you see good data?

The next section recvresp(): says HTTPAPI is now picking up what the server sends back. It shows some information from the http header and shows that it is going to receive 1288 characters of data.
Eventually it shows what it received. In your case, it is a web page that shows some information about this service.

Unfortunately, it didn't say anything about the data you sent it. So, you don't really know what went wrong. But you did send and receive data - which is what HTTPAPI does! :)

BTW, the SetError() #13 and #0 are pretty standard and no way indicate that something went wrong. They are just markers in the programs for certain conditions. 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------