On Fri, Jun 24, 2011 at 11:28:56 -0400, Cheetah wrote: > The documentation clearly states that using an authority other than > localhost is not permitted. However, AFAICT, the standard form of a file: > URI on windows for a UNC path uses exactly that.
That's in accord with the URL specification. file: schema may not have any authority except empty or localhost. > For example, the UNC path \\darkstar\home\fred\data.db would map to the > example invalid URI file://darkstar/home/fred/data.db in the documentation. No, correct URL is: file://///darkstar/home/fred/data.db > Windows does accept file://\\darkstar/home/fred/data.db as an equivalent, You missed one /. There is 5 of them. And all of them should be forward, backslash is not valid URI character. > but the APIs I've seen to automatically convert a file path to a file: URI > will generate the former format which SQLite does not accept. That would be invalid. Just substitute file:// with file://///. -- Jan 'Bulb' Hudec <b...@ucw.cz> _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users