upload file to webserver ...how to ?

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

Hi,
i need to upload a file from a pocketpc .net app to
a web server .
Which are the best methods to accomplish thi issue ?
Ftp ? Web services ?
I' ve snipped some code for realize this with FTP but
i 've several problem ....
thanks in advance for help
andrew
 
It is easy to do using HTTP upload. The advantage of using FTP would be the
performance. The disadvantage is that you will need to build or buy a
component that implements FTP client.

HTTP upload sample can be found at
http://www.alexfeinman.com/download.asp?doc=HttpUpload.zip
It is important to remember that the web server should allow write operation
on the specified virtual directory and that the PUT verb should be enabled
as well
 
hi Ruediger,
thank you very much ...
i'm very afraid for this problem and i'm searching
a lot for this issue ....
if you can send me your code , thanks much !!!!
bye andrew
 
Hi Andrew,

appears to be a little bit difficult, without an email address?

bye
Ruediger
 
Hi Rüdiger,

I hav been reading your posts on ftp for cf. I have written an application
using ftp in VB .NET and has proven very unstable (connecting sometimes, not
downloading files properly, etc). Please could you assist me with your C#
version.

Thanks in advance,

Najen
 
Back
Top