[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
http_parse_xml_stmf error open(): No such path or directory
Hi, I hope someone has had a similar experience to this. It seems like a simple issue but I can't get to the root of the problem..
I've been using httpapi v 1.23 with a function to call http_parse_xml_stmf where the filename is 50a varying. It's been happily churning away on our i5, set at v5r4.
We just installed a new i on V7.1 and did a fresh install of httpapi with the lastest version from Scott's website (v1.24). Not a single change to the code, but I'm now getting a message: 'open(): No such path or directory' returned from the call to http_parse_xml_stmf.
If I debug, I see that the variable content is padded with spaces. Even if I wrap it in a %trimr(filename) on the call, same error. If I hard-code the filename on the call i.e. "http_parse_xml_stmf ('/tmp/myfile.txt'......") to avoid the spaces, it works fine.
Has anyone experienced a similar issue between versions? I saw a similar posting from 2010, where Scott suggested a beta he'd just worked on to truncate the string in that routine, but since that was 2 years ago, I'm wondering where the current status lies...
Any help is much appreciated.
Thanks
David.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------