my own ftp client waits on connect... please help

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 ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-01-2006
amit
 
Posts: n/a
Default my own ftp client waits on connect... please help

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

Reply With Quote
  #2 (permalink)  
Old 08-01-2006
Navi
 
Posts: n/a
Default Re: my own ftp client waits on connect... please help


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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:17 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0