Hi.
I'd like to know what do you do to update records of your
application. I mean... I have a program that has to receive data
from a database very often. What I've done, so far, is:
- using TcpIpLib, my program (Palm) calls a .php file;
- the .php file sends many lines of information (fixed size).
Ex: Db_id - 3 characters (what db I'd like to modify)
Id - 2 characters
Name - 15 characters
Age - 3 characters
Delimiter - $# (so, 2 characters)
If the line can have 55 characters (it's only an example), the .php file sends
a line like this:
"PER01Person 1 018$#PER02Person 2 020$#"
* these lines are in a .txt file.
- after receiving all the data, the application token the lines(that were
stores in a temp database) and update the databases (I
think it's not necessary to explain all the process, so...)
Well... it works, but I'd like to know if you have a more practical and
efficient method... Is there any way to send
compressed data, for example???
I read some messages about Zlib/compression, but how can I receive/send this
kind of file?
Can I do this in NSBasic?
Do you know any free FTP program?
Thanks a lot,
Jam
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/