Passive mode

Discussion in 'ASP .Net' started by jaems, Feb 18, 2008.

  1. jaems

    jaems Guest

    Please can someone explain the significance of selecting passive mode when
    connecting with FTP in VS 2005 or 2008

    Is selecting it likely to prevent VS2008 repeatedly downloading he same
    files when I change page?

    Jaez
     
    jaems, Feb 18, 2008
    #1
    1. Advertising

  2. jaems

    bruce barker Guest

    ftp use two tcp/ip connections, one for traffic each way. in active (the
    original ftp mode) the client opens one, and the server opens the other.
    this required the client to have a port open thru the firewall, so
    passive mode was added. in this mode the client opens both connection to
    the server. after the connections are established, there is no difference.

    -- bruce (sqlwork.com)

    jaems wrote:
    > Please can someone explain the significance of selecting passive mode
    > when connecting with FTP in VS 2005 or 2008
    >
    > Is selecting it likely to prevent VS2008 repeatedly downloading he same
    > files when I change page?
    >
    > Jaez
     
    bruce barker, Feb 18, 2008
    #2
    1. Advertising

  3. Technically, the two ports are for "command" and "data" and are not
    directional. But yes, passive mode allows the client to initiate both
    connections which alleviates many firewall issues. Selection of "passive"
    mode has no effect beyond establishing the "data" connection (assuming, of
    course, that both client & server support passive mode).

    http://slacksite.com/other/ftp.html


    "bruce barker" <> wrote in message
    news:...
    > ftp use two tcp/ip connections, one for traffic each way. in active (the
    > original ftp mode) the client opens one, and the server opens the other.
    > this required the client to have a port open thru the firewall, so passive
    > mode was added. in this mode the client opens both connection to the
    > server. after the connections are established, there is no difference.
    >
    > -- bruce (sqlwork.com)
    >
    > jaems wrote:
    >> Please can someone explain the significance of selecting passive mode
    >> when connecting with FTP in VS 2005 or 2008
    >>
    >> Is selecting it likely to prevent VS2008 repeatedly downloading he same
    >> files when I change page?
    >>
    >> Jaez
     
    Scott Roberts, Feb 19, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    0
    Views:
    3,802
  2. Pete Ashdown

    Passive getchar?

    Pete Ashdown, Jun 21, 2010, in forum: C Programming
    Replies:
    3
    Views:
    410
    Pete Ashdown
    Jun 22, 2010
  3. trans.  (T. Onoma)

    Passive Arguments

    trans. (T. Onoma), Jan 16, 2005, in forum: Ruby
    Replies:
    5
    Views:
    144
    benny
    Jan 17, 2005
  4. Hostile17

    Net::FTP and Passive mode problems

    Hostile17, Oct 20, 2004, in forum: Perl Misc
    Replies:
    6
    Views:
    197
    Sherm Pendley
    Oct 21, 2004
  5. justme

    perl Net::FTP vs Ncftp passive mode

    justme, Apr 18, 2005, in forum: Perl Misc
    Replies:
    0
    Views:
    204
    justme
    Apr 18, 2005
Loading...

Share This Page