Page 1 of 1

BUG 9.9.94 (get-url vs read-file)?

Posted: Mon Nov 17, 2008 12:58 pm
by newdep
-> (read-file "file:///directory/newlisp-9.9.94/doc/newlisp_manual.html")
[text].....
.......[/text]


-> (get-url "file:///directory/newlisp-9.9.94/doc/newlisp_manual.html" )
"ERR: bad formed URL"


Is this a bug or behaviour.. I thought get-url would do that too..

Posted: Mon Nov 17, 2008 1:46 pm
by Lutz
Its in the manual for 'get-url', but was never implemented, and will probably not be implemented anymore for 10.0, but is on my dodo list.

But 'load', 'read-file', 'write-file' and 'append-file' and the newLISP command line can do both http: and file: URLs.