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

Re: Receiving file: not all data was written



Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

I have a problem receiving a file with HTTPS. The transfer is cut off when
a '(' occurs in the file.

You're confused. It's not the '(' character that's the problem, it's whatever is in column 20551 of the XML document that it's receiving.


The XML parser is returning an error stating that there's something wrong with the XML document (it's not well formed). Since the XML parser is returning an error, HTTPAPI aborts the connection.

To troubleshoot this, use http_url_post() to get the XML file, and parse the document separately. You can do that with Expat or with another parser if you like.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------