Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to base64Binary?
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01415121
Message ID:
01415271
Views:
79
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform