Re: virtual directories for the ftp server
From: John Spaith [MS] (jspaith_at_ONLINE.microsoft.com)
Date: 02/21/05
- Previous message: Chigusa Sansen [MS]: "RE: Locale setting doesn't work when connect to remote server via RDP 5.5 in CE 5.0!!!"
- In reply to: Roger N.: "Re: virtual directories for the ftp server"
- Messages sorted by: [ date ] [ thread ]
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. >> > >> >> >>
- Previous message: Chigusa Sansen [MS]: "RE: Locale setting doesn't work when connect to remote server via RDP 5.5 in CE 5.0!!!"
- In reply to: Roger N.: "Re: virtual directories for the ftp server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|