Re: Web server in CE 5.0 using ISAPI extensions
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Apr 2007 08:27:57 -0700
SysAdmin is actually implemented as an ISAPI extension. ISAPI extensions
are not going to be cut in CE in the future since they're the core to
server-side scripting.
For your scenario, you may be to open up a CE FTP site directly from a
browser using ftp://CEDeviceName/... The interface would be a bit different
but it's not a command line FTP at least. Failing that, you would need to
look at how SysAdmin does uploading of files or read up general file based
upload through HTTP and implement an ISAPI that does this. The ftp://...
option would be much simpler to implement.
--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Luci" <Luci@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:689D4D0D-6B3A-487B-87CB-C799A3F0269A@xxxxxxxxxxxxxxxx
Thanks for your answer,
in effect I have did some changes in the source code of SysAdmin, because
I
thought to use the source code of SysAdmin as base of a web server
application for my customers.
To do Upload/Download I can use also FTP application, but I wanted to
concentrate all functions (to visualize web page and file handled) in a
single application.
In any case I don't uderstand as modify the source code of SysAdmin to
resolve the problem (little) of the file download (show the file name
instead the virtual root).
I read in some Microsoft article that the ISAPI extension is the more
efficent way to realize a web server on CE.
But if you say that it was cut from CE 6.0, what is the better way to
realize a web server?
Thanks.
"John Spaith [MS]" wrote:
The SysAdmin source code lives in
<WinceRoot>\public\servers\sdk\samples\http\sysadmin. After you make any
changes to it, you can just open a build window and run 'build' and then
'sysgen -p servers sysisapi' in order to get a new DLL (no need to
rebuild
whole platform).
I wouldn't recommend spending a lot of time on this - first the sysadmin
code is hard to follow and the component was cut from CE 6.0.
What's the end scenario you're trying to solve here - is it for your
development purposes or is this something you envision one of your
customers
using? If it's for your purposes, you may be able to use a remote file
viewer available as part of Platofrm Builder debug tools (assuming you
have
a connection setup). If this is for a customer, you may consider looking
at
the SMB server to do uploads & downloads as it will be way faster and
probably a better user experience since it'll look like a remote file
share.
You could also use SMB server if it's just for your dev purposes too.
--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All
rights
reserved.
"Luci" <Luci@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4BED4B5D-8C2D-4EC2-9F57-DAA4D93B7ADE@xxxxxxxxxxxxxxxx
Hello all,
in my application I'm using SysAdmin to upload and download file
on/from
the
CE device.
When I do the download of a file from the CE device (right key of the
mouse
and Save Target As), the client download window show the name of
virtual
root (SysAdmin) with the right file extension but not show the file
name.
Someone can help me to understand as modify the SysAdmin application to
show
the file name?
Thanks.
.
- References:
- Re: Web server in CE 5.0 using ISAPI extensions
- From: John Spaith [MS]
- Re: Web server in CE 5.0 using ISAPI extensions
- From: Luci
- Re: Web server in CE 5.0 using ISAPI extensions
- Prev by Date: Re: Errors while using WRITE_PORT_UCHAR
- Next by Date: Re: Writing Cross-Platform Application-Help Needed
- Previous by thread: Re: Web server in CE 5.0 using ISAPI extensions
- Next by thread: Problems with .Net async communications
- Index(es):
Relevant Pages
|