Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to base64Binary?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01415121
Message ID:
01415271
Vues:
69
>Gang,
>
>Ok... I got it (I think)! I found a post about sending PDF files to a web service and they mentioned the CREATEBINARY( ) VFP function. I tried it and it worked like a champ. Now, how do I convert from that back into a string?

If the data is coming back through COM you should automatically get a binary string - VFP treats binary data as string always so you should be fine with the data as is.

If the data for some reason is indeed base64 binary it'll be just base 64 which you can convert with STRCONV.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform