Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you pass pdf's via a WS?
Message
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
ASP.NET
Database:
MS SQL Server
Miscellaneous
Thread ID:
01032645
Message ID:
01032910
Views:
23
Yes, you can return the data as a byte array and it will encode on the wire. On the other hand you can pick up the byte array and either write it to disk or creaet a stream from it...

Note though that there's overhead in this as the data is base64 encoded, so it'll likely double in size.

+++ Rick ---

>I have a SQL db that holds data for clients in the field. I have been tasked with passing in with the new data some new PDF files that they could/would use.
>
>I have the data moving fine that would end up in a VFP table. Should I consider using the same [WebMethod] or go to an FTP call from the client, using the new data that they just downloaded?
>
>Size of existing files is usualy .25 meg or .75 meg for a larger one.
>
>TIA
>
>__Stephen
+++ 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
Next
Reply
Map
View

Click here to load this message in the networking platform