Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

upload file to webserver ...how to ?

3 views
Skip to first unread message

Andrew

unread,
Oct 7, 2004, 11:31:36 AM10/7/04
to
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


Alex Feinman [MVP]

unread,
Oct 7, 2004, 2:16:21 PM10/7/04
to
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

--
Alex Feinman
---
Visit http://www.opennetcf.org
"Andrew" <a...@for.it> wrote in message news:2sl5paF...@uni-berlin.de...

Rüdiger Kardel

unread,
Oct 7, 2004, 4:43:15 PM10/7/04
to
Andrew,

you can find the sources for ftp-client here:
http://www.codeproject.com/csharp/ftplibrary.asp

it's for the full framework.
as far as i remember: after some minor changes i got it to run under cf.
if you are interested in, i can send you my 'cf-working' version.

Ruediger

"Andrew" <a...@for.it> schrieb im Newsbeitrag
news:2sl5paF...@uni-berlin.de...

Andrew

unread,
Oct 8, 2004, 3:35:45 AM10/8/04
to
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


Rüdiger Kardel

unread,
Oct 8, 2004, 5:48:16 AM10/8/04
to
Hi Andrew,

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

bye
Ruediger

"Andrew" <a...@for.it> schrieb im Newsbeitrag

news:2smu92F...@uni-berlin.de...

o s p a m>@yahoo.com Andrew

unread,
Oct 8, 2004, 8:08:49 AM10/8/04
to
sorry ....
remove <n o s p a m>

thanks much for help ....
bye


o s p a m-@yahoo.com Andrew

unread,
Oct 8, 2004, 8:10:12 AM10/8/04
to
what ?!!?!?!?
here is the correct address ...
remove -nospam-

bye
andrew


Naj

unread,
Dec 10, 2004, 9:25:31 AM12/10/04
to
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

Bas Derks

unread,
Dec 20, 2004, 8:58:54 AM12/20/04
to
I would like to see the VB.net code to this if possible.....

Naj

unread,
Jan 25, 2005, 1:15:01 PM1/25/05
to
Hi Bas,

Let me know if you still need the code

0 new messages