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

RE: Donnie Sanders getting invalid Data was: Ftpapi Digest, Vol 72, Issue 22



>     recvresp(): end with 200
>     recvdoc parms: identity 250
>     header_load_cookies() entered
>     recvdoc(): entered
>     SetError() #0:
>
>     <?xml version="1.0" encoding="ISO-8859-1"?>
>     <!DOCTYPE pnet_response PUBLIC "-//PeopleNet//pnet_response"
>     "[4]http://open.peoplenetonline.com/dtd/pnet_response.dtd";>
>     <pnet_response><sendresult>success</sendresult><msn>2052495003</msn></p
>     net_response>

It is not your declaration that is having the problem. As you can see above, the server responded with "success" and msn=2052495003.

So the parse error would be coming from whatever is happening with this line
<!DOCTYPE pnet_response PUBLIC "-//PeopleNet//pnet_response" "

From the debug included in your posting, it appears that there is a CR in the middle of the DOCTYPE. I wonder if that is causing the parse error? Internet Explorer doesn't seem to mind, but it is a bit unusual. 

Just in case it is the way you are calling the routines, could you post the "endofElement" procedure you wrote?

Also, by posting the debug log, you revealed your user and password. You should immediately change your password and make sure to XXXX or 9999 those fields in any future debug logs. 
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------