Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transmitting a file by reading bytes
Message
De
24/07/2014 00:21:56
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Transmitting a file by reading bytes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01604538
Message ID:
01604538
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform