Commit Graph

336 Commits

Author SHA1 Message Date
Vahid Sohrabloo
468423d44a Change file Size type from int to int64 and add test for it 2017-02-20 00:13:08 +03:30
vahid-sohrabloo
7bbfa218f9 Add Size Command 2017-02-19 17:14:20 +03:30
Julien Laffaye
de604c9776 Expose disableEPSV
Fixes #71
2017-02-05 21:02:16 +01:00
Julien Laffaye
4596ddad4d Merge pull request #73 from digineo/move-utf8
Switch to UTF-8 after login
2017-02-05 20:45:42 +01:00
Julian Kornberger
47d41e8ddd Switch to UTF-8 after login
closes #72
2017-02-04 12:24:16 +01:00
Julien Laffaye
a5c2cfe9ac Merge pull request #64 from digineo/mlst
Use MLST if supported
2017-01-30 14:43:20 +01:00
Julian Kornberger
04544dbe82 Use MLST if supported
closes #46
2017-01-29 16:38:35 +01:00
Julian Kornberger
f109d22425 Test vsftpd and proftpd in parallel
Also use Ubuntu 14.04 instead of 12.04
2017-01-29 16:38:35 +01:00
Julien Laffaye
5a8b8eeb12 Merge pull request #66 from zeast/master
use utf8 default
2017-01-20 09:08:54 +01:00
Julien Laffaye
0757556863 Merge pull request #63 from digineo/refactor_line_parsing
Refactoring the line parsing
2017-01-19 16:22:41 +01:00
zeast
bb08d6425f use utf8 default 2017-01-09 11:45:58 +08:00
Julian Kornberger
f74506daaa Add test case for filename surrounded by whitespace 2016-12-31 18:20:29 +01:00
Julian Kornberger
8082b59766 Refactoring the line parsing 2016-12-31 18:20:29 +01:00
Julien Laffaye
95f4fe9d35 Merge pull request #62 from svett/fix-filename-parsing
Fix incorrect filename parsing
2016-12-29 18:20:21 +01:00
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
Julien Laffaye
988909ab28 Disable EPSV for tests.
Also disable it for next attempts when it failed.
2016-11-24 14:49:16 +01:00
Julien Laffaye
72154dff87 Use last Go version 2016-11-24 12:25:00 +01:00
Julien Laffaye
17dda2a76c Merge pull request #59 from digineo/close-fix
Add missing Close() before return
2016-11-24 10:15:47 +01:00
Julien Laffaye
c47cb8ca13 Merge pull request #54 from 0086/master
Fix ls bug for file or folder name includes multiple spaces
2016-11-24 10:13:12 +01:00
Julian Kornberger
73c8ae2c86 Add missing Close() before return 2016-11-18 01:20:19 +01:00
codeman
e14d0d6be5 Add parse test for dir and file names that contain multiple spaces 2016-03-16 13:41:20 +08:00
codeman
6a290aff81 fix ls bug for file or folder name includes multiple spaces 2016-03-10 15:56:39 +08:00
Julien Laffaye
025815df64 Merge pull request #51 from brianfoshee/update-go-version
Add Go 1.6 test target as well as most recent 1.5 release
2016-02-29 22:52:38 +01:00
Brian Foshee
6b13969ac9 Add Go 1.6 test target and bump 1.5 to 1.5.3 2016-02-29 15:44:32 -05:00
Julien Laffaye
0e072be722 Merge pull request #43 from HnH/master
ServerConn::openDataConn() recursively tries to use EPSV and PASV.
2016-02-27 11:10:24 +01:00
Julien Laffaye
3e92923fa0 Merge pull request #48 from ezeql/patch-1
Update README.md
2016-02-10 22:23:03 +01:00
Ezequiel Moreno
e53011540c Update README.md
add go get lib
2016-02-10 15:38:39 -03:00
Julien Laffaye
fc06ecffd6 Merge pull request #47 from etix/hotfix
Fix a crash with pasv invalid responses
2016-02-08 20:19:59 +01:00
Ludovic Fauvet
b8e5af955b Fix a crash with pasv invalid responses 2016-02-08 10:32:55 +01:00
Julien Laffaye
8b4b15b841 Merge pull request #44 from digineo/fix_time_parsing
Do not crash on invalid lines
2015-12-28 18:04:02 +01:00
Julian Kornberger
e077f90365 Fix Travis CI 2015-12-28 12:44:51 +01: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
Сергей Трейнис
e252713eb1 ServerConn::openDataConn() recursively tries to use EPSV and PASV. 2015-12-02 15:06:05 +02:00
Julien Laffaye
f780314026 Use latest Go version.
Remove cover tool, it is now part of Go.
2015-12-01 23:05:03 +01:00
Julien Laffaye
ff69fe44f1 Make gofmt and golint happy. 2015-11-30 12:22:16 +01:00
Julien Laffaye
a104f27d44 Merge pull request #41 from digineo/avoid_strings_split
Avoid strings.Split
2015-09-01 23:31:23 +02:00
Julien Laffaye
5260d41db2 Merge pull request #42 from digineo/multiline_mock
Create mock for multiline test
2015-09-01 23:28:59 +02:00
Julian Kornberger
ff557cea69 Create mock for multiline test
This removes the dependency to ftp.mozilla.org
2015-08-29 15:26:40 +02:00
Julian Kornberger
b9430bdb4a Avoid strings.Split
This results in less function calls.
2015-08-29 13:20:47 +02:00
Julien Laffaye
1b24570309 Add ReportCard badge. 2015-08-28 15:52:55 +02:00
Julien Laffaye
db9aa14e61 Merge pull request #40 from andybalholm/master
Add support for directory listings in MS-DOS DIR format.
2015-08-25 09:22:57 +02:00
Andy Balholm
95346071de Add support for directory listings in MS-DOS DIR format. 2015-08-24 16:03:52 -07:00
Julien Laffaye
7acded32b2 Add a test for the legacy Connect function. 2015-08-21 18:47:44 +02:00
Julien Laffaye
d640995c66 Add tests for timeout and wrong login. 2015-08-21 18:36:56 +02:00
Julien Laffaye
7534ffcb97 Add a test for RetrFrom method. 2015-08-20 22:47:09 +02:00
Julien Laffaye
4cb43e6615 Merge pull request #39 from digineo/increase_test_coverage
Increase test coverage
2015-08-20 11:06:57 +02:00
Julian Kornberger
6f8509b5d6 Increase test coverage 2015-08-20 10:37:56 +02:00
Julien Laffaye
fb305c5912 Merge pull request #38 from digineo/test_pasv
Test PASV as well
2015-08-20 09:37:12 +02:00
Julian Kornberger
5bb86ee66f Test PASV as well 2015-08-20 01:51:00 +02:00