lua-users home
lua-l archive

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


Hi
 
I tried to use ftp functions in luasocket with VxWorks, I have seen the globel_create of tcp module will be called twice and ends with timeout error.  Please let me know this ftp behaviour
is expected one?.   I am able to run the command successfully in linux.
 
 
I used printf statements to debug the functions traceback
 
lua> print(socket.ftp.get("ftp://abduls:<passwd>@47.129.231.145/home/abduls/sock_lua"))
TCP:global_create
inet:inet_trycreate
usocket:socket_create
usocket: socket_strerror
TCP:meth_settimeout
TCP:meth_connect
inet:inet_tryconnect
Connecting to :47.129.231.145 : 21
usocket:socket_connect
usocket: socket_strerror
TCP:meth_receive
usocket:socket_recv
TCP:meth_receive
TCP:meth_receive
usocket:socket_recv
TCP:meth_receive
TCP:meth_receive
TCP:meth_receive
TCP:meth_receive
TCP:meth_receive
TCP:meth_receive
TCP:meth_receive
TCP:meth_send
usocket:socket_send
TCP:meth_receive
usocket:socket_recv
TCP:meth_send
usocket:socket_send
TCP:meth_receive
usocket:socket_recv
TCP:meth_send
usocket:socket_send
TCP:meth_receive
usocket:socket_recv
TCP:global_create
inet:inet_trycreate
usocket:socket_create
usocket: socket_strerror
TCP:meth_settimeout
TCP:meth_connect
inet:inet_tryconnect
Connecting to :47.129.231.145 : 49933
usocket:socket_connect
usocket: socket_strerror
TCP:meth_close
usocket:socket_destroy
TCP:meth_close
usocket:socket_destroy
nil     timeout
lua>




      Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/