Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a File in VFP 8.0
Message
De
05/04/2004 23:17:50
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/04/2004 21:56:18
Mike Smith
Doncaster Office Services
Oakville, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00891740
Message ID:
00892506
Vues:
27
>Dragan:
>
>Did you ever think or writing poetry in your spare time? You have an unusual gift for words.

Thanks - comes with messing with too many languages, though I wouldn't give myself too much credit for poetry. You wouldn't guess which one was a translation from a Serbian romantic poet of XIX century, and which was my own doing... or am I just kidding myself :).

But I do write - follow the link about the novel in my signature.

>Anyway, I was trying to figure out why you would convert your code to XML when putting in on your web site. Could you not just FTP the actual .prg files and bring them down whereever you were?

Because it's a simple text file, and one file, at that. I could have copied all I need into a dbf/fpt - but a simple text is something I can even email to myself as a part of the message, put it into the clipboard, and just

xmltocursor(_cliptext, ...)

and append from that. Furthermore, I've found that doing backup into xml and resotoring from that, you get the benefit of not needing to have the exact structure the same. When you unzip your old tables, they have the old structure, right? If you just zap the new ones and append from XML-created cursors, you don't care how different the structure was when the backup was done.

>Like is there some efficiency in file size or something in FTPing text files as XML?

Unless your fields are very long and have a lot of trailing or leading spaces (same goes for zeros in long numeric fields), the XML will be longer than combined dbf+fpt. But it will zip really well.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform