Subject Re: [firebird-support] gbak with servicemanager and filenames with spaces
Author Frank Schlottmann-Goedde
Helen Borrie schrieb:
> At 02:00 PM 11/01/2006 +0000, you wrote:
>
>>Hi,
>>
>>i have two problems using gbak with service manager:
>>I want to run gbak from a client application to backup a database.
>>When the filename (or path) of the database or the backup file contains
>>one or more spaces, it doesn't work.
>>When i put the filename into quotes, the parameters are send via TCP/IP
>>without quotes, and the servicemanager stops interpreting the filename at
>>the space.
>>When i escape the Space with a backslash (i.e. "/public/Treesoft\
>>Office/Data1.fdb"), the firebird server aborts and restarts. The log says:
>>fbserver: terminated abnormally (3221225477). In Linux the entry is:
>>terminated abnormally (-1).
>>
>>The problem occurs on Windows as well as on Linux servers.
>
>
> I don't think so! For one thing, Linux doesn't allow spaces in pathnames
> at all, whether escaped or not.

Oh it allows a hell lot more than spaces in pathnames :-)

try e.g.

mkdir Eigene\ Dateien\ öäü\ ß/
mkdir Eigene\ Dateien\ öäü\ ß\ /

Frank

--
Fascinating creatures, phoenixes, they can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets.
- J.K. Rowling