Re: Can't ftp from Linux box to windows-server - setsockopt

From: B H (check4junk_at_gmail.com)
Date: 11/30/04


Date: Tue, 30 Nov 2004 12:41:23 +0100

In fact the server needs active mode. Someone hinted that I should
try to force active since it seems that the session automatically goes
to passive which the server do not accept. So I will try "ftp -a" later to
force active and see if that helps.

Borge

"Bernard" <qbernard@hotmail.com.discuss> wrote in message
news:OXjWSus1EHA.1188@tk2msftngp13.phx.gbl...
> It could be the ftp server passive port range was blocked.
> have you try active mode connection to the server ?
>
> try ftp.exe from a windows client machines.
>
> --
> Regards,
> Bernard Cheah
> http://www.tryiis.com/
> http://support.microsoft.com/
> http://www.msmvps.com/bernard/
>
>
>
> "B H" <check4junk@gmail.com> wrote in message
> news:HdXqd.10266$rh1.255511@news2.e.nsc.no...
> > "Bernard" <qbernard@hotmail.com.discuss> wrote in message
> > news:Om3p%23Pq0EHA.2196@TK2MSFTNGP14.phx.gbl...
> > > Can you post the complete debug output..
> > > have you look at the IIS ftp server log file ?
> >
> > OK. Here's some more info. Log of session and list of "nmap localhost".
> > Unfortunately getting an ftp-log at my isp is not so easy.
> > ===
> > [mylocalusername@dhcppc1 ~]$ ftp -d www.mysite.com
> > Connected to www.mysite.com (aaa.bbb.ccc.ddd).
> > 220 iis11 Microsoft FTP Service (Version 4.0).
> > Name (www.mysite.com:mylocalusername): myusernameatftpserver
> > ---> USER myusernameatftpserver
> > 331 Password required for myusernameatftpserver.
> > Password:
> > ---> PASS XXXX
> > 230-Welcome to blablabla
> > 230 User myusernameatftpserver logged in.
> > ---> SYST
> > 215 Windows_NT version 4.0
> > Remote system type is Windows_NT.
> > ftp> ls
> > ftp: setsockopt (ignored): Permission denied
> > ---> PASV
> > 227 Entering Passive Mode (aaa,bbb,ccc,ddd,9,202).
> >
> > [program hangs and must be CTRL-C'ed]
> > ===
> > A "nmap localhost" command at my Linux-box:
> >
> > [mylocalusername@dhcppc1 ~]$ nmap localhost
> >
> > Starting nmap 3.48 ( http://www.insecure.org/nmap/ ) at 2004-11-30 08:33
> CET
> > Interesting ports on localhost.localdomain (127.0.0.1):
> > (The 1651 ports scanned but not shown below are in state: closed)
> > PORT STATE SERVICE
> > 22/tcp open ssh
> > 25/tcp open smtp
> > 111/tcp open rpcbind
> > 631/tcp open ipp
> > 32770/tcp open sometimes-rpc3
> > 32771/tcp open sometimes-rpc5
> >
> > Nmap run completed -- 1 IP address (1 host up) scanned in 0.706 seconds
> > ===
> >
> > Borge
> >
> >
>
>



Relevant Pages

  • Re: Active mode FTP over PPP
    ... Usenet newsgroup comp.protocols.ppp, in article ... with "Active mode" FTP over a serial PPP link. ... 'proxy-arp on the dialin server? ... use a single port pair - ephemeral on the client, ...
    (alt.os.linux)
  • Re: Unable to ftp
    ... usenet provider that is dropped by my news server. ... The default active mode does not work ... connection, the client connects to the FTP server, then the FTP server ...
    (microsoft.public.windowsxp.network_web)
  • Re: Zone Alarm Pro and Bulletproof ftp Server 2.15 problem
    ... am I reading you correctly ... > use active mode while the other wants passive and vice versa. ... change modes but the same problems occur. ... same person was unable to access my server. ...
    (comp.security.firewalls)
  • Re: GetFtpConnection Last param, Passive?
    ... >I am trying to upload file from my computer to our server. ... FTP clients normally operate in active mode. ... port (the client tells the server which port). ...
    (microsoft.public.vc.mfc)
  • Re: Event ID 26. You computer may be infected.
    ... This server has not changed, been rebooted, had ... Borge in sunny Perth, Australia ...
    (microsoft.public.win2000.general)