moteus 00a06857c9 Fix. recive 2xx while ftp.get cause timeout error
In this example:
>Client send: MDTM test.txt
>Server response: 213 20120824120909
Because FTP server do not open new channel (2XX response)
and LuaSocket try open new channel we get timeout.

```lua
local ftp   = require "socket.ftp"
local ltn12 = require "ltn12"
local url   = require("socket.url")

local URL = "ftp://USER:TEST@127.0.0.1";
local CMD = 'MDTM test.txt';

-- get timeout
ftp.get{
  url = URL;
  command = CMD;
  sink = ltn12.sink.table{};
}

-- or we can use ftp.command
ftp.command{
  url = URL;
  command = URL,
  check = function(...)
    local status, data = ...
    return true
  end;
}
```
2013-05-30 11:01:07 +04:00
2012-08-23 19:31:15 -03:00
2013-05-27 20:30:06 +08:00
FIX
2011-05-25 20:57:22 +00:00
2012-04-23 00:18:45 +08:00
2013-05-25 07:25:02 -03:00
2013-05-27 20:30:06 +08:00
2013-05-27 20:30:06 +08:00
2013-05-26 15:18:13 +08:00
2013-05-25 18:07:38 +08:00
2012-04-23 00:18:45 +08:00
2013-05-25 18:07:38 +08:00
NEW
2011-05-25 20:57:22 +00:00
2012-04-23 00:18:45 +08:00
2012-12-10 15:50:44 -02:00
2013-05-25 18:10:46 +08:00
2007-03-12 04:08:40 +00:00

This is the LuaSocket 2.1. It has been tested on --[[WinXP--]], Mac OS X,
and --[[Linux--]].  Please use the Lua mailing list to report any bugs 
(or "features") you encounter. 

Have fun,
Diego Nehab.
Description
Network support for the Lua language
Readme MIT 3.2 MiB
Languages
HTML 48.5%
C 27.1%
Lua 22.7%
Makefile 1.4%