I'm working with the salesforce.com sforce API, and I'm trying to
attach files. Steps are:
1. Use WebRequest to get a file from a certain url (e.g.
www.myserver.com/file.doc)
2. Convert the response stream from stream to Base64String.
Step 2 isn't working for me. Using WinHttp, I could just convert the
Reponse from bytes to Base64String and everything was fine. Now, I'm
converting the stream to bytes and then to Base64String, which is
producing files that can't be opened.
Ideas? Suggestions? Please let me know.
Thanks,
Graham