This is a discussion on my own ftp client waits on connect... please help within the Linux Networking forums, part of the Linux Forums category; I'm writing my own ftp client, after I send the user anonymous pass nobody@ type i pasv I get ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm writing my own ftp client, after I send the
user anonymous pass nobody@ type i pasv I get back ip address and port number, after the manipulation of the port number, if I try to connect, my program just waits there... If I do the same thing in telnet, it works good. Any idea why its happening like that...?? I'm calculating the port numbers correctly... and my parameters to connect are correct too.. has double checked this... Any help is greatly appreciated. Thx, -Amit |
|
|||
|
amit wrote: > I'm writing my own ftp client, after I send the > > user anonymous > pass nobody@ > type i > pasv > > I get back ip address and port number, after the manipulation of the > port number, if I try to connect, my program just waits there... > > If I do the same thing in telnet, it works good. Any idea why its > happening like that...?? > > I'm calculating the port numbers correctly... and my parameters to > connect are correct too.. has double checked this... > > Any help is greatly appreciated. > > Thx, > -Amit Also, If I look in tcpdump, there is no response for the connect request from the server. Any idea why its happening like that. |