Any file can be sent as a byte array, so declare the Web service something
like this:
Public Sub UpLoadFile(ByVal FileBytes() As Byte, ByVal FileName As String)
Then on the client side, read the file into a byte array (use
IO.File.OpenRead) and call the Web service.
On the server side write the byte array to disk .
Any file can be sent as a byte array, so declare the Web service something
like this:
Public Sub UpLoadFile(ByVal FileBytes() As Byte, ByVal FileName As String)
Then on the client side, read the file into a byte array (use
IO.File.OpenRead) and call the Web service.
On the server side write the byte array to disk .
My initinal purpose is that:
I have to transfer dataset to server by web service. The rows in the dataset
is so huge(over 8000 records)
Is it worth to compressed before transfer?
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.