From: Marcos G. <mar...@uo...> - 2011-10-07 18:20:05
|
Em 07/10/2011 12:13, Pavel Tsarenko escreveu: > Hello, Marcos > > Try to set DataPath parameter in letodb.ini, f.e > > DataPath =c:/database > > and call > > leto_connect("//localhost:2812/") > leto_file("/mydir/file.ext") > > or > > leto_file("//localhost:2812/mydir/file.ext") > > if file c:/database/mydir/file.ext exist, leto_file returns true > > > Best regards, Pavel Tsarenko > If I set the DataPath parameter, the function leto_file work: DataPath = c:\data Testing file \data\mydir\file.ext: ? leto_file("mydir/file.ext") // return true ? leto_file("/mydir/file.ext") // return true ? leto_file("//localhost:2812/mydir/file.ext") // return true Is the fail of the function leto_file, when DataPath parameter is empty, a bug or a feature ? Thanks! -- Regards, Marcos Antonio Gambeta |