<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasocket/src/ftp.lua, branch copilot/update-urltest-helper</title>
<subtitle>A mirror of https://github.com/lunarmodules/luasocket.git
</subtitle>
<id>https://git.lua4.win/luasocket/atom?h=copilot%2Fupdate-urltest-helper</id>
<link rel='self' href='https://git.lua4.win/luasocket/atom?h=copilot%2Fupdate-urltest-helper'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/'/>
<updated>2022-03-19T14:13:15+00:00</updated>
<entry>
<title>refactor: Address issues raised by linter</title>
<updated>2022-03-19T14:13:15+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2022-03-18T11:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1'/>
<id>urn:sha1:601ad8d59f11d7180015d0ecfb9d0a8d67f6f5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Hide ftp.PORT "constant" as a local</title>
<updated>2016-03-07T04:33:08+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego@impa.br</email>
</author>
<published>2016-03-07T04:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=23ce5aeaa22b49d6649096b520b292a3626474ef'/>
<id>urn:sha1:23ce5aeaa22b49d6649096b520b292a3626474ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Family agostic FTP and expose HTTP/FTP url parsing</title>
<updated>2016-03-07T04:30:30+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego@impa.br</email>
</author>
<published>2016-03-07T04:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=916b548240b1513410b13f964d80f329aec9c13a'/>
<id>urn:sha1:916b548240b1513410b13f964d80f329aec9c13a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added support for FTP command lists</title>
<updated>2016-03-04T17:38:56+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego.nehab@gmail.com</email>
</author>
<published>2016-03-04T17:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=cdce73b226cc4da6a073b79bec02a6780d32ff1a'/>
<id>urn:sha1:cdce73b226cc4da6a073b79bec02a6780d32ff1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixed accidental global in `ftp.lua`</title>
<updated>2015-03-01T19:34:53+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2015-03-01T19:34:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=59869b8bf6bdcbd2d5bd1789747bb4b99830cc65'/>
<id>urn:sha1:59869b8bf6bdcbd2d5bd1789747bb4b99830cc65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix. recive 2xx while ftp.get cause timeout error</title>
<updated>2013-05-30T07:01:07+00:00</updated>
<author>
<name>moteus</name>
<email>mimir@newmail.ru</email>
</author>
<published>2013-05-30T07:01:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=00a06857c9c602285e21998e2a9dfef74ad8c525'/>
<id>urn:sha1:00a06857c9c602285e21998e2a9dfef74ad8c525</id>
<content type='text'>
In this example:
&gt;Client send: MDTM test.txt
&gt;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;
}
```
</content>
</entry>
<entry>
<title>Build with Lua 5.2 without LUA_COMPAT_MODULE flag.</title>
<updated>2013-05-27T08:45:09+00:00</updated>
<author>
<name>moteus</name>
<email>mimir@newmail.ru</email>
</author>
<published>2013-05-27T08:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=920bc9762954454468d056a61391635cbd849406'/>
<id>urn:sha1:920bc9762954454468d056a61391635cbd849406</id>
<content type='text'>
LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
</content>
</entry>
<entry>
<title>Making progress toward a release</title>
<updated>2012-04-22T16:18:45+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego.nehab@gmail.com</email>
</author>
<published>2012-04-22T16:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=f960b3872a668ed1b53bd50c5b6a708367332f3c'/>
<id>urn:sha1:f960b3872a668ed1b53bd50c5b6a708367332f3c</id>
<content type='text'>
Documented headers.lua
Update copyright date everywhere
Remove RCSID from files
Move version back to 2.1 rather than 2.1.1
Fixed url package to support ipv6 hosts
Changed "domain" to "family" in tcp and udp structures
Implemented getfamily methods
</content>
</entry>
<entry>
<title>Preliminary IPv6 support for v2.1</title>
<updated>2012-04-11T20:25:11+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego@tecgraf.puc-rio.br</email>
</author>
<published>2012-04-11T20:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=2778766d678b147fc079d67dee036346381b4764'/>
<id>urn:sha1:2778766d678b147fc079d67dee036346381b4764</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Saving before big changes to support IPv6.</title>
<updated>2011-05-25T20:57:22+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego@tecgraf.puc-rio.br</email>
</author>
<published>2011-05-25T20:57:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=3a8ba90dfb0c2eb224f317dd692ede426691e72a'/>
<id>urn:sha1:3a8ba90dfb0c2eb224f317dd692ede426691e72a</id>
<content type='text'>
</content>
</entry>
</feed>
