Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transmitting a file by reading bytes
Message
From
24/07/2014 02:38:09
 
 
To
24/07/2014 00:21:56
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01604538
Message ID:
01604541
Views:
38
>I have a file of 14 MB. I am sending that file 200,000 bytes at a time in Base64 format as one of the parameter of a Web Service method. So, basically, I open a FileStream to the file and send 200,000 bytes at a time to the Web Service method. Then, at the other end, I am converting back the Base64 into a string and saving that into a file. I have tried all types of encoding but cannot open the same file on the server, once being reconstructed.
>
>I believe I would have to convert from Base64 into a byte instead of a string and dump those bytes into the file being created.


> >I believe I would have to convert from Base64 into a byte

I think so as well
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform