I checked the file, it seems to be ok, and there's no viruses in my system 
either. Running admin account
Where else can I check for what's wrong ?

Thanks.

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains port numbers for well-known services defined by IANA
#
# Format:
#
# <service name>  <port number>/<protocol>  [aliases...]   [#<comment>]
#

echo                7/tcp
echo                7/udp
discard             9/tcp    sink null
discard             9/udp    sink null
systat             11/tcp    users                  #Active users
systat             11/tcp    users                  #Active users
daytime            13/tcp
daytime            13/udp
qotd               17/tcp    quote                  #Quote of the day
qotd               17/udp    quote                  #Quote of the day
chargen            19/tcp    ttytst source          #Character generator
chargen            19/udp    ttytst source          #Character generator
ftp-data           20/tcp                           #FTP, data
ftp                21/tcp                           #FTP. control


----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, August 12, 2005 08:40
Subject: Re: [twsocket] FTP as system service: Cannot convert port 
'ftp-data'


>> I'm trying to port the ftp server demo to a system service,
>> however when I connect I get this error in the ftp client:
>>
>> 451: Failed: connect: WSocketResolvePort: Cannot
>> convert port 'ftp-data'. Error #11004
>> Unable to complete transfer
>> Any idea why it gets that error when running as a system service ?
>
> This error is from winsock when the component try to get the port number 
> corresponding to the port
> name "ftp-data". You either have your 
> <WindowsDir>\System32\Drivers\Etc\Services file missing or
> corrupted, or the account on which your service run has no permission to 
> that system file and
> winsock can't resolve protocol names to protocol port numbers. If this 
> error also occur with normal
> applications, then you ahve probably been hacked by a virus. Some of them 
> mess the tcp/ip settings
> up.
>
> A quick hack would be to replace all occurences of 'ftp-data' by '20' in 
> the component source code.
> Of course it is better to fix your system configuration.
>
> --
> [EMAIL PROTECTED]
> http://www.overbyte.be
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be
>
> 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to