How to transfer a file from pocket PC to server

J

Joby

Dear All,
Right now i am facing a problem. I have a file in my Pocket PC. I
want to transfer that file from the Pocket PC to the server. How can i
transfer this file? Can i use https protocol for that? I want to send
it through seccure sockot layer.
Any response will be appreciated. Thanking you all.

regards
joby M.Chacko
 
N

Neil Cowburn [MVP]

Here's a couple of ways in which you can achieve this:

1. Write your own file transfer protocol that works over HTTPS
2. Use a Web service to transfer the file

HTH
Neil
 
J

Joby

Could you please explain me how can i transfer a file using webservices.
Thanking you

Joby
 
N

Neil Cowburn [MVP]

Take a look at System.IO. This namespace has a nice stream-oriented classes
for reading and writing files. One of the things you can do with read a file
into a stream and retrieve the byte array from that stream. You can then
send this byte array as a parameter in a call to a Web service, where it
will be serialized as Base64 encoded text for transmission and then
deserialised back to a byte array on the server. Once the server has the
byte array this can be written to a file using the classes in System.IO.

--Neil
 

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.

Ask a Question

Top