Re: FTP server



This is the traces I got (with some traces from me)

TELNETD: DllMain attached
TELNETD: Caller executable = 1
TEL_Init(1)
TEL_IOControl(0x1F41158, 17039404, 0x0, 0, 0x0, 0, 0xC02EFB4)
TEL_IOControl(0x1F41158, 17039404, 0xC02F238, 16, 0x0, 0, 0xC02ED4C)
TEL_IOControl(0x1F41158, 17039416, 0xC02F570, 4, 0x0, 0, 0xC02EFB4)
TELNETD:TEL_IOControl(IOCTL_SERVICE_STARTED), setting state =
SERVICE_STATE_ON
FTPD: DllMain attached
FTP_Init(0)
FTPD: Starting Ftp server
Starting ftp server
Added virtual root \Temp for alias /Temp
FTPD: Calling select()....

Then I try to connect :


FTPD: Received 1 incoming connections!!
loop j = 0
i = 0
CFtpSession()
FTPD: FtpSession created - pointer = 335e0
SetVroots()
FTPD: ScheduleEvent() - cookie = 1
FTPD: Calling select()....


Then I try to connect again :

FTPD: Received 1 incoming connections!!
loop j = 0
i = 1
CFtpSession()
FTPD: FtpSession created - pointer = 34a50
SetVroots()
FTPD: ScheduleEvent() - cookie = 2
FTPD: Calling select()....
ClientThreadProc()
HandleSession()
READY_FOR_NEW_USER message replied to sock 5
ASSERT(gpFtpd) OK
for(;;)
Connection not closed abruptly
Received commands
nCount= -1
done
CloseConnection()
Connection closed
~CFtpSession()








Ricco wrote:
Hi,
I have a lot of difficulties to have a connection:

I:\>ftp 191.0.48.94
Connecté à 191.0.48.94.
Connexion fermée par l'hôte distant.

After some investigations, it seems that after the ScheduleEvent()
call, very often, the function is not scheduled, and sometimes, it is.
If the function is scheduled, it seems that in HandleSession() when a
command is received, the nCount value is equal to -1.

Has somebody already got a problem related to ScheduleEvent? I could'nt
find any documentation.

Thahks in advance.


John Spaith [MS] wrote:
FYI, the way you'd do this is via the registry [HKLM\COMM\FTPD] IsEnabled:
DWORD 1.

--
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.

"Ulrich Eckhardt" <eckhardt@xxxxxxxxxxxxxx> wrote in message
news:j7dho3-t6u.ln1@xxxxxxxxxxxxxxxxxxxxxxxxx
ash wrote:
I am tried to acess the FTP server on my Windows 2000 based PC.it shows
me the " Connection refused".
Pls tell me anybody how to connect the FTP server on Windows CE.

By default, it doesn't accept any connections because FTP is an inherently
insecure service. You need to configure it to accept connections first.

Uli


.



Relevant Pages

  • Re: FTP server
    ... FTPD: Starting Ftp server ... FTPD: Received 1 incoming connections!! ... ScheduleEvent() - cookie = 1 ...
    (microsoft.public.windowsce.embedded)
  • Re: limiting connections per IP w/FreeBSD ftpd?
    ... > a stupid customer), opened 60 simultaneous connections to our ftp ... This is the second or third time ... > So I'm looking for some way to limit the number of connections per-IP. ... > don't have time to hack FreeBSD ftpd myself. ...
    (freebsd-net)
  • diagnosing FTPD
    ... From couple of days I see entries in my /var/log/messages ... Currently there are about 200 connections and all is ok - ftpd is ... no coredump or big load. ... My assumptions is that hosts open too many connections and on closing ...
    (freebsd-questions)
  • limiting connections per IP w/FreeBSD ftpd?
    ... server and totally swamped our T1. ... This is the second or third time ... So I'm looking for some way to limit the number of connections per-IP. ... Does anybody have patches to allow FreeBSD's ftpd to limit ...
    (freebsd-net)
  • ftp Language settings
    ... I have a language problem with my ftpd on an aix-system. ... When connecting to the ftp server via IE-explorer the explorer shows weired ... Now we changed LANG in the /etc/environment to en_US - no effect ...
    (comp.unix.shell)