Re: accessing multiple folde using FTP Sever



Added following lines in Common.reg

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\A]
"Home"="\\Hard Disk\\"
"Permissions"=dword:2

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\B]
"Home"="\\Hard Disk\\DB\\"
"Permissions"=dword:1

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\C]
"Home"="\\Hard Disk\\DB\\DB1\\"
"Permissions"=dword:1

and created say user A,B & C.

But when I'm logging with different user, I 'm getting access to only "temp"
directory for all user ,

not as the path defined in "Home".

"Amit Golhani" wrote:

I added following lines in Common.reg

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\ADMINISTRATOR]
"Home":REG_SZ="\\Hard Disk\\"
; "Permissions":REG_DWORD=""
; "Password":dword=1

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\A]
"Home":REG_SZ="\\Hard Disk\\DB\\"

[HKEY_LOCAL_MACHINE\Comm\Security\UserAccounts\FTPD\B]
"Home":REG_SZ="\\Hard Disk\\DB\\DB1\\"

and getting error while building Platform.


"John Spaith [MS]" wrote:

You should be able to create a home directory for the user in registry
without modifying FTP server code. Check out the last post on thread
http://groups.google.com/group/microsoft.public.windowsce.embedded/browse_frm/thread/32e3f56061d82f9f/280d611684932f29?lnk=st&q=&rnum=1&hl=en#280d611684932f29.

FTP Server code is public if you really need to dig into this,
%_WINCEROOT%\public\servers\sdk\samples\ftpd, in particular
CFtpSession::ReadUserConfig().

--
John Spaith
Development Lead, 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.

"Amit Golhani" <AmitGolhani@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F7EBDAA8-BFF5-48B4-BD29-AE94D16B2D9D@xxxxxxxxxxxxxxxx
Is it possible to add different user in the Userlist?

And provide different level of access without modifying code of FTP
server.

Let's say there are three user A,B & C

And default directory \\Hard Disk\\Application\\Db\\ (ie Db) and there
are
two

other folder in "Application" Db1 & Db2.

Now I want to access Db with login as user A.

Db1 with user B.

and Db , Db1 & Db 2 with user C.

Is it possible?




"Yannick Chamming's [eMVP]" wrote:

I'm afraid you can't without modifying the code of the FTP server

--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------

"Amit Golhani" <AmitGolhani@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le
message de news: 20FDCF35-7FA1-468A-A844-B9E836314765@xxxxxxxxxxxxxxxx
Hi ,

I 'm using FTP server of WinCE.

Right now I am accessing only one folder("\\Hard
Disk\\Application\\Db\\"),which is

defined in server.reg as a

default directory.

;----------------------------servers.reg-------------------------------------------------

; @CESYSGEN IF SERVERS_MODULES_SERVICES
[HKEY_LOCAL_MACHINE\Services\FTPD]
"FriendlyName"="FTP"
; @CESYSGEN ELSE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FTPD]
; @CESYSGEN ENDIF SERVERS_MODULES_SERVICES
"Dll"="FTPD.Dll"
"Order"=dword:9
"Keep"=dword:1
"Prefix"="FTP"
"Index"=dword:0

[HKEY_LOCAL_MACHINE\COMM\FTPD]
"IsEnabled"=dword:1
"UseAuthentication"=dword:1
"UserList"="PACK"
"AllowAnonymous"=dword:0
"AllowAnonymousUpload"=dword:0
"AllowAnonymousVroots"=dword:0
"DefaultDir"="\\Hard Disk\\Application\\Db\\"
; Idle time (in seconds) after which the connection is automatically
closed.
Default = 5 mins
"IdleTimeout"=dword:12c
;To control logging
"DebugOutputChannels"=dword:2
"DebugOutputMask"=dword:17
"BaseDir"="\\Windows"
"LogSize"=dword:1000
; @CESYSGEN ENDIF SERVERS_MODULES_FTPD

Suppose there is one more say "Reg" in Application ("\\Hard
Disk\\Application\\Reg\\")

And I want to access both the folder using FTP then what should I have
to
do

without giving the access to "Application" folder?

Amit






.



Relevant Pages

  • Re: accessing multiple folde using FTP Sever
    ... without modifying FTP server code. ... FTP Server code is public if you really need to dig into this, ... ; @CESYSGEN ENDIF SERVERS_MODULES_SERVICES ...
    (microsoft.public.windowsce.embedded)
  • Re: accessing multiple folde using FTP Sever
    ... without modifying FTP server code. ... FTP Server code is public if you really need to dig into this, ... ; @CESYSGEN ENDIF SERVERS_MODULES_SERVICES ...
    (microsoft.public.windowsce.embedded)
  • Quick n Easy FTP Server pro/lite Logging unicode stack overflow
    ... Logging unicode stack overflow ... Quick 'n Easy FTP Server is a simple and handy FTP server which is ...
    (Bugtraq)
  • Re: accessing multiple folde using FTP Sever
    ... And provide different level of access without modifying code of FTP server. ... ychammings AT adeneo DOT adetelgroup DOT com> ... ; @CESYSGEN ENDIF SERVERS_MODULES_SERVICES ... And I want to access both the folder using FTP then what should I have to ...
    (microsoft.public.windowsce.embedded)
  • Re: accessing multiple folde using FTP Sever
    ... ychammings AT adeneo DOT adetelgroup DOT com> ... I 'm using FTP server of WinCE. ... ; @CESYSGEN ENDIF SERVERS_MODULES_SERVICES ... And I want to access both the folder using FTP then what should I have to ...
    (microsoft.public.windowsce.embedded)