Re: FTP data connection

From: those who know me have no need of my name (not-a-real-address_at_usa.net)
Date: 04/28/04


Date: 28 Apr 2004 19:17:48 GMT

in comp.unix.programmer i read:

>When ftp'ing to a host, in active mode, the FTP server then connects back to
>the client using the TCP port 20 to send the data, no matter how many
>connections are opened. Each one sees data coming from port 20.
>
>How is it performed programmatically ? I'm writing a FTP server, and i can't
>figure out how to connect to the client, given the port it sent me, using
>always the same port.

call bind before connect.

-- 
a signature


Relevant Pages

  • RE: [Full-Disclosure] A rather newbie question
    ... show a few different ports but port 60096 stands out. ... Common name: client-port on Red Hat Linux 9.0, Fedora Core 1, Red Hat ... Outgoing client connections from systems. ...
    (Full-Disclosure)
  • Re: thin client com ports
    ... I'm glad that you got at least one more client working! ... MCSE, CCEA, Microsoft MVP - Terminal Server ... the COM port settings? ... I am testing several thin clients. ...
    (microsoft.public.windows.terminal_services)
  • Re: network installation manager
    ... there is a firewall between master and client machines, ... NIM Communication within a Firewall Environment ... master via nimclient calls to the nimesis daemon. ... reserved port range of 1023-513. ...
    (comp.unix.aix)
  • Re: Airport e Skype
    ... Common name: client-port on Red Hat Linux 9.0, Fedora Core 1, Red ... Outgoing client connections from systems. ... Port 32768 is the first port used by the operating system ...
    (it.comp.macintosh)
  • help: using smtp.gmail.com as SMART_HOST
    ... with my Google gmail address. ... is pop.gmail.com, using port 995. ... Retrieving mail is not the problem since my Google searches ... client, I believe the term is) to send my mail to Google's ...
    (comp.mail.sendmail)