Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transmitting a file by reading bytes
Message
From
24/07/2014 00:21:56
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Transmitting a file by reading bytes
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:
01604538
Views:
35
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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform