lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wed, Nov 26, 2008 at 4:24 AM,  <> wrote:
> Hi I am trying to port the luasocket in vxworks environment.
> but when I tried to use the ftp functionality I observer the
> ftp client is issuing ftp connect twice. first time with
> port number 21 and the second time it is taking some arbitrary
> port. But our Network Element will allow the traffic for the port 21.
> Due to this I am not able to complete the ftp get operation.

Abdul, try this with a non lua ftp client, and you will see the same behaviour.

Port 21 is used for control, the actual data comes across a different
tcp connection.