different ports of ftp protocol

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucy149
    New Member
    • Apr 2010
    • 1

    #1

    different ports of ftp protocol

    hello ,

    i am trying to implement ftp protoco using javal. but when i read the protocol description ,i didnt get how i should have 2 ports

    does that mean having 2 server sockets , each one with different port
    or having only 1 server socket but 2 sockets for the client
    one for example is called connection socket and the other data socket but if so , does that mean that i can not use the connection socket for any data transfer even if it is just one line that i need to print ( not a file to send)

    actually am somehow confused..

    hope somebody can help me
    Thanks in advance
Working...