Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transmitting a file by reading bytes
Message
De
24/07/2014 02:38:09
 
 
À
24/07/2014 00:21:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
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:
01604541
Vues:
39
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform