[Gambas-user] Hot to load and savbe to DB a binary file (not image either archive strings) (PICCORO McKAY Lenz) (Tobias Boege)

PICCORO McKAY Lenz mckaygerhard at ...626...
Mon Jul 15 20:56:47 CEST 2013


hello tobias, are u a devel of gambas? i could help with documentation
lacks, i see the pending tasks ...
From: Tobias Boege <taboege at ...626...>

> > but in open line said "file not exits" .. i wish to create the file from
> > stream.. not open for write
> So you want to write to it and to create it if it doesn't exist (and it
> will
> never exist because of the three lines above):
> myFinger = Open User.Home &/ ".fprint/0002/00000000/1" For Write Create
> Note the "Create" keyword at the end of the line. "For Write Create" will
> also truncate the file to a size of 0 if it exists while opening so the If
> clause before the Open statement is effectively useless.
>
ok its hard to explain but must sure to previous data dont exists and then
put new data (in this example are same by casuality)
the binary blob are a unkown file created by finger readers, and my app are
fault tolerant, i emulated by hand putting the file where app spect to find
and works prefectly, but i need do that from db, i made the if/kill
statements for see by step the app work..


> You can find my explanation above in the documentation[0], too.
>
yeah.. i see that .. thanks

> It seems that you are right with the first point, though. I couldn't find
> any example of how to use files. I'll put that on my schedule...
>
i wish to help.. but for now i must finish my app for my job.. i'll explain
in next lines:

>
> > i wish to help and made good apps for business into free
> > soft, but seems its to hard.. free soft only work in nerd-like and
> freakers
> > computers ? please let probe theres not such
> Wait... You know that this is the gambas-user mailing list, no? By far most
> attendees here can program in Gambas very well. Do you realise that you
> asked for help and at the same time called us freaks? (Well you conditioned
> that "freaks" by whether we can help you or not - which is IMHO even
> worse.)
>
my boss provide me many resources for linux-related support and migration..
but its hard due time to made that are very little and windo-related docs
are very often.. i'm the only linux devel in my section and the boss
dessire migrate but this king of problem are always

i really need retrieve binary file from db ....

a question, the store must be also by stream process too?

*please nee a example to store and retrieve binary files NOT picture files.*



More information about the User mailing list