Re: Web server in CE 5.0 using ISAPI extensions



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.






.



Relevant Pages

  • Re: SQL Server and Agent Accounts
    ... I log in to the server as a sysadmin. ... Here is a scenario that I tested: I created a Windows account called ... Apparently when SQL Agent logs in to the publisher it uses Domain\Maer. ...
    (microsoft.public.sqlserver.replication)
  • Re: The clock is running down on OS X "security"
    ... lets see how many security "experts" on this forum will continue ... Windows file sharing on an Internet server? ... So, Michelle, where do you work as a sysadmin? ... I agree with you that any sysadmin that is worth a flip should be keeping up with current patches, ...
    (comp.sys.mac.advocacy)
  • Re: xp_cmdshell
    ... When xp_cmdshell is invoked by a user who is a member of the sysadmin fixed ... which the SQL Server service is running. ... Set the "Non sysadmin job step proxy account ... > I have a user and I want to to give persmission of that user to execute ...
    (microsoft.public.sqlserver.clients)
  • Re: MCSA 2000 to MCSE 2003
    ... Of course I have looked at the Microsoft site concerning ... > certification. ... >> 2003 server. ... >> experience as a SysAdmin, I feel very sorry for whoever hires you. ...
    (microsoft.public.cert.exam.mcsa)
  • Re: Web server in CE 5.0 using ISAPI extensions
    ... in effect I have did some changes in the source code of SysAdmin, ... efficent way to realize a web server on CE. ... in my application I'm using SysAdmin to upload and download file on/from ...
    (microsoft.public.windowsce.app.development)