Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: updates extenders new features
Ver 11126 July 20 1997 Fixed bug on failed http transfers where some servers, returning the 404 error messagee did not terminate the final line with a LF. Ver 11129 Aug 20 1997 Fixed a bug introduced earlier so that the SMTP From and To lines can accept addresses in the form of John Dow
Ver 11132 Feb 08 1998 1) Fixed sConnect to not return TRUE when connecting with unresponsive port numbers (Give BUSY error) 2) For WxGetInfo requests 1 and 2, swapped bytes on the port part of the address. Apparently they were reversed. Ver 11133 Feb 09 1998 1) Fixed dunConnect when attempting to use a non-existant connectoid. Now returns @FALSE instead of 627 and the WxLastError is properrly set to 627. Ver 11134 Feb 17 1998 1) Fixed "MAIL TO" and "MAIL FROM" SMTP "envelopes" to work more in compliance with spec and allow email addresses of "Somebody " to work with more different mail servers. Ver 11136 May 12 1998 ============================================================================= Added @HHeaderOnly to HTTPRecvFile, HTTPRecvText, & HTTPRecvTextF. This sends an http HEAD request instead of the normal GET request. (If the server doesn't respond to the HEAD request, then it's retried with a GET.) The caller then gets the message header only returned to it. ============================================================================= New function: HTTPRecvTextF. This has the same syntax as HTTPRecvFile, but it ensures that the file it writes out has CRLF's at the end of each line. ============================================================================= New function: wxMsgSetHdr. This sets a header value for subsequent outgoing HTTP requests. Syntax: wxMsgSetHdr (nHdrName, sHdrValue) This function sets header values for outgoing http requests. Parameters: (n) The header to set. This can be one of the following: 1 = User-Agent: 2 = Referer: 3 = From: 4 = Pragma (s) The new value of the header line. If this is "" (the default), then the header line won't be included in an outgoing HTTP request. Returns: (n) @TRUE if the header was set correctly, or @FALSE if you requested an unknown header #. The User-Agent: field is useful to the webmaster of the site your WIL code is accessing. When they run a website statistics program such as WebTrends, they can see how many user sessions were made from which browser, web crawler, etc. The Referer: field lets the webmaster tell which URL a client browsed from when they linked to a page on the site. The From: field gives the webmaster an email address they can contact in case they have questions, or if there are errors in the http request you need to know about. The Pragma: field is usually used with a value of "no-cache". This tells any proxy or other intermediate server not to serve you up a file from its cache, but to make sure the request is passed on to the actual server. Although the http protocol lets you have more than one Pragma: header line, you can only have one Pragma: line when sending a request from WIL. Note: This function sets the header fields for all subsequent calls to HTTPRecvText, HTTPRecvTextF, HTTPRecvFile, HTTPRecvQuery, or HTTPRecvQryF. Example: wxMsgSetHdr (3, "email@example.com") wxMsgSetHdr (1, "Joe's WebCrawler v1.0") wxMsgSetHdr (2, "http://www.nerds-r-us.com/techsupport") wxMsgSetHdr (4, "no-cache") ============================================================================= New function: HTTPFullPath. This builds a fully-qualified HTTP url from a given url. You can give it 4 defaults for the various parts. Syntax: sFullPath = HTTPFullPath (sPath, sDefServer, sDefDir, sDefFile, sDefAnchor) This function builds a fully qualified http url from the specified url. Parameters: (s) The url to examine. This can be relative or otherwise not fully-formed. (s) The default server. (Ex.: "www.windowware.com") (s) The default directory path. (Ex.: "/a/subdir/") (s) The default filename. (Ex.: "index.html") (s) The default anchor. (Ex.: "top") Returns: (s) A fully-qualified URL. This includes the initial "http://", the server & trailing "/", plus the directory path, filename, and anchor (if present). ============================================================================= Renamed PARM[GD_DELAYTIMEOUT] to SENDRCV_TIMEOUT. ============================================================================= Added timeout detection to these functions: SConnect DNS_TIMEOUT SSendNumNN SENDRCV_TIMEOUT SSendBinary SENDRCV_TIMEOUT SSendLine SENDRCV_TIMEOUT SRecvNumNN SENDRCV_TIMEOUT SRecvBinary SENDRCV_TIMEOUT SRecvLine SENDRCV_TIMEOUT HTTPRecvBinary SENDRCV_TIMEOUT When these functions time out, they set the Last Error to @SErrFailure. @SErrFailure now pretty consistently means "timeout". I wonder if SENDRCV_TIMEOUT should be bumped up to maybe 15 seconds from the current 10 as the default? ============================================================================= BugFix: Parsing a URL that just consists of a "../dir/or/file" didn't always work. ============================================================================= Enhancement: P3Delete & P3Close return better error codes. (We now let WXDoSSendLine pass thru its errors instead of turning them into @SErrFailure.) Ver 11137 May 22 1998 Fixed a bug introduced in the previous release in the wxAddr2Host function Ver 11138 May 24 1998 Fixed a bug dealing with incorrect wxPing response. Ver 11139 June 27 1998 Fixed bug in HTTPStripHTML: It was stripping off text that wasn't in an HTML tag after the last tag in string. This was OK if the string had the whole file, as the last characters are usually "