On Mon, Oct 06, 2008 at 10:25:01AM +0200, Petr Jake?? wrote:
> db_filename = 'd|\\sgdata\\test\\sysdat01.gdb'
> connection_string = 'firebird://winsrv.xxx.xx:3050/' + db_filename
> connection = connectionForURI(connection_string)
>
> >From the windows machine as a client everything works fine.
>
> >From the linux machine as a client:
Vertical bar is replaces by a semicolon only on a w32 - it was done
specifically for SQLite. I have never considered a possibility for a linux
client to connect to a w32 server using w32 filenames.
In POSIX OS a vertical bar is a pretty normal character and must not be
processed. See:
$ echo 'test' >'d|x'
$ cat 'd|x'
test
The most correct way to fix your problem is to connect to the DB using
a database name, not a file name. Is it possible in Firebird?
db_name = 'sysdat01.gdb'
connection_string = 'firebird://winsrv.xxx.xx:3050/' + db_name
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss