diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftp.lua b/src/ftp.lua index ea1145b..917cd89 100644 --- a/src/ftp.lua +++ b/src/ftp.lua | |||
| @@ -268,7 +268,7 @@ _M.command = socket.protect(function(cmdt) | |||
| 268 | cmdt = override(cmdt) | 268 | cmdt = override(cmdt) |
| 269 | socket.try(cmdt.host, "missing hostname") | 269 | socket.try(cmdt.host, "missing hostname") |
| 270 | socket.try(cmdt.command, "missing command") | 270 | socket.try(cmdt.command, "missing command") |
| 271 | local f = open(cmdt.host, cmdt.port, cmdt.create) | 271 | local f = _M.open(cmdt.host, cmdt.port, cmdt.create) |
| 272 | f:greet() | 272 | f:greet() |
| 273 | f:login(cmdt.user, cmdt.password) | 273 | f:login(cmdt.user, cmdt.password) |
| 274 | f.try(f.tp:command(cmdt.command, cmdt.argument)) | 274 | f.try(f.tp:command(cmdt.command, cmdt.argument)) |
