Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StrToFile() converts HEX(?) automatically?
Message
From
08/05/2008 14:28:56
 
 
To
08/05/2008 09:59:16
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01315843
Message ID:
01315924
Views:
19
>I'm getting some data back from a web service that appears to be in HEX format. When I write that out to a file with StrToFile(), it appears as an XML document. Why is that?

SWAG - maybe what you're getting from the Web service is encoded (UTF8?) If you need to preserve it as-is without translation maybe you could try STRTOFILE( ..., ..., 4 ).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform