Commit Graph

17 Commits

Author SHA1 Message Date
Svett Ralchev
08566066b1 Fix incorrect filename parsing
When the file creation year, file size and filename contains the same
substring the parsed filename should contains only the correct filename
2016-12-29 00:37:08 +00:00
codeman
e14d0d6be5 Add parse test for dir and file names that contain multiple spaces 2016-03-16 13:41:20 +08:00
Julian Kornberger
1fc6b70adc Another fix for the line parser 2015-12-28 12:17:09 +01:00
Julian Kornberger
107079411b Do not crash on invalid lines 2015-12-28 00:12:10 +01:00
Andy Balholm
95346071de Add support for directory listings in MS-DOS DIR format. 2015-08-24 16:03:52 -07:00
Julian Kornberger
6f8509b5d6 Increase test coverage 2015-08-20 10:37:56 +02:00
Julian Kornberger
3a78f26034 Some code optimizations 2015-08-18 23:34:52 +02:00
Julian Kornberger
72db6844f1 Improve line parsing 2015-08-18 22:33:04 +02:00
Julian Kornberger
4c910c8b22 Add support for a third listing format 2015-08-18 18:54:40 +02:00
Julian Kornberger
94120171fb Add support for another listing format 2015-08-18 18:54:40 +02:00
Julien Laffaye
e177ecf60b Simplify the code with gofmt -s 2015-03-05 11:45:33 +01:00
Julien Laffaye
d4849c8195 gofmt parse_test.go 2013-07-08 20:06:16 +02:00
SunRunAway
6416febc89 add Time for Entry 2013-07-08 13:21:43 +08:00
Julien Laffaye
acaf7edcbc gofmt 2013-02-17 10:31:56 +01:00
Julien Laffaye
d69e9326f4 Set the size of the entry in List() 2013-02-17 10:03:46 +01:00
jlaffaye
a87255661d Better error handling, new commands.
The code is no safer.
Added Stor(), Rename(), NoOp()
Improved Retr()
Added client tests (requires a ftp server on localhost)
2011-09-05 23:36:14 +02:00
jlaffaye
bcc332e95c First commit. 2011-05-07 00:29:10 +01:00