Re: virtual directories for the ftp server

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Spaith [MS] (jspaith_at_ONLINE.microsoft.com)
Date: 02/21/05

  • Next message: John Spaith [MS]: "Re: Soap Service Persistence in Memory"
    Date: Mon, 21 Feb 2005 13:00:47 -0800
    
    

    Yes - this is a bug in our documentation. I've just opened a bug to get
    this fixed in a future release. Thank you for bringing this to my attention
    and apologies for the time you've wasted on this.

    -- 
    John Spaith
    Software Design Engineer, Windows CE
    Microsoft Corporation
    Check out the new 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. © 2003 Microsoft Corporation. All rights 
    reserved.
    "Roger N." <Roger N.@discussions.microsoft.com> wrote in message 
    news:2F7ADD5E-D105-40A5-AF86-10771BC8269D@microsoft.com...
    > John, thanks for you help. It worked! I also could use rooted virtual
    > directories.
    > I see now where I got it wrong. I used the example in the documentation 
    > from
    > Win CE .NET 4.2 for my platform. Could it be that there's a mistake?
    > Beacause in the
    > example the registry key doesn't use "\/". I thought I'd mention it  for
    > future
    > releases.
    >
    > Regards
    > Roger N.
    >
    >
    >
    > "John Spaith [MS]" wrote:
    >
    >> I don't think the FTP Server can handle rooted virtual directory names 
    >> like
    >> that.  So you could have VROOTS\Foo but not necesasrily VROOTS\foo\bar. 
    >> I'm
    >> pretty sure about this from code review.
    >>
    >> I am also almost positive you do not want the double slash in the 
    >> registry
    >> key name but want a "\/"- i.e. the "VROOTS\\compactflash" should be
    >> VROOTS\/compactflash.  You need the "\\" in the actual registry string
    >> itself because this "\" acts as a C-style escape, but this is not needed 
    >> in
    >> the Registry Key name itself.
    >>
    >> If you still don't have luck, you can try getting a debug version of the 
    >> FTP
    >> server up and running.  From there you can enable more debug zones and 
    >> see
    >> if anything jumps out at you.  You can also look at the source code 
    >> (shipped
    >> in PB) and debug through it in 
    >> %_WINCEROOT%\public\servers\sdk\samples\ftpd.
    >> I'm basing what I'm saying after looking at the ftpd.cpp file's
    >> ReadVirtualRoots() function.  If you still have problems let me know 
    >> where
    >> things seem to be going wrong.
    >>
    >> -- 
    >> John Spaith
    >> Software Design Engineer, Windows CE
    >> Microsoft Corporation
    >>
    >> Check out the new 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. © 2003 Microsoft Corporation. All 
    >> rights
    >> reserved.
    >>
    >> <user@domain.invalid> wrote in message
    >> news:uzWE$mcFFHA.2832@TK2MSFTNGP14.phx.gbl...
    >> > Hi all
    >> >
    >> > I'm having problems configuring the ftp server in Windows CE .NET 4.2
    >> > Platform Builder.
    >> > I edited the platform.reg as follows:
    >> > [HKEY_LOCAL_MACHINE\COMM\FTPD]
    >> > "IsEnabled"=dword:1
    >> > "AllowAnonymous"=dword:1
    >> > "AllowAnonymousUpload"=dword:1
    >> > "AllowAnonymousVroots"=dword:1
    >> > "UseAuthentication"=dword:0
    >> > "DefaultDir"="\\compactflash\\ftproot"
    >> >
    >> > Now I want to define in the project.reg two virtual directories for the
    >> > ftp server:
    >> > ;Virtual roots for ftp server
    >> > [HKEY_LOCAL_MACHINE\Comm\FTPD\VROOTS\\compactflash\\ftproot\ftp]
    >> > @="\\CompactFlash\\ftp"
    >> >
    >> > [HKEY_LOCAL_MACHINE\Comm\FTPD\VROOTS\\compactflash\\ftproot\project]
    >> > @="\\CompactFlash\\project"
    >> >
    >> >
    >> > Accessing the ftproot directory works fine but I can't access the 
    >> > virtual
    >> > directories.
    >> > I have the feeling they aren't there. Am I missing something? Thanks 
    >> > for
    >> > your help in advance!
    >> >
    >> > Regards
    >> > Roger N.
    >> >
    >>
    >>
    >> 
    

  • Next message: John Spaith [MS]: "Re: Soap Service Persistence in Memory"

    Relevant Pages

    • Re: FTP Server," Internectconnect" handle is NULL
      ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... FTP server uses a special debugout mechanism and not the standard OS one. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: This directory partition has not been backed up since at least the
      ... This posting is provided "AS IS" with no warranties, and confers no rights. ... This directory partition has not been backed up since at least the ... you could do so by adding the following registry key. ...
      (microsoft.public.windows.server.active_directory)
    • Re: have admin rights, but can not change options
      ... Roger wrote: ... But when I try to change my internet option I ... > get a messages that states I do not have administrator ... > rights to make the change? ...
      (microsoft.public.windowsxp.security_admin)
    • Registry Permissions & Win APIs
      ... I'd like to modify registry key permissions with VBS and I would like to do ... I want to give read rights to power users and I ... (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) ...
      (microsoft.public.scripting.vbscript)
    • Re: This directory partition has not been backed up since at least the
      ... This posting is provided "AS IS" with no warranties, and confers no rights. ... This directory partition has not been backed up since at least the ... you could do so by adding the following registry key. ...
      (microsoft.public.windows.server.active_directory)