Julian Kornberger
0445d85941
Fix possible runtime error
...
closes #97
2017-07-20 21:09:00 +02:00
Julien Laffaye
a05056b3ca
Merge pull request #96 from allenluce/zero-link-count
...
Add a case to catch Unix-like but 0 link count list line
2017-07-07 12:19:14 +02:00
Allen Luce
4b298416ea
Add a case to catch Unix-like but 0 link count list line
...
I happened upon this with hostedftp.com:
-r-------- 0 user group 65222236 Feb 24 00:39 UABlacklistingWeek8.csv
Otherwise a fine Unix-like list line, but link count is 0 for some
reason. That company wasn't able to tell me why.
2017-07-06 00:55:11 +00:00
Julien Laffaye
6bccbfbf6c
Merge pull request #93 from Mojachieee/master
...
added recursively deleting (non-empty) folders
2017-06-16 09:00:30 +02:00
Joe
479d87b91a
added recursively deleting folders
...
added tests for recursive delete
added change dir to fix test + refactor
fixed path issues
changes directory now instead of deleting by path
proftpd fix
added file edge case + more tests
added directory does not exist test
added correct directory after delete test
fixed correct directory test
renamed test directories + files
missed a renamed
2017-06-13 21:21:50 +01:00
Julien Laffaye
5c7b901224
Merge pull request #87 from DAddYE/patch-1
...
Avoid forever lock
2017-05-07 20:23:38 +02:00
Davide D'Agostino
980e2e09a5
Document that closing two times doesn't do anything
2017-05-04 19:03:56 -07:00
Davide D'Agostino
cb362c4101
Rename connClosed -> closed
2017-05-04 17:46:41 -07:00
Davide D'Agostino
7e3820b35d
Address comments
2017-05-04 13:03:00 -07:00
Davide D'Agostino
58864d889b
Avoid forever lock
...
If we close the connection two times the second time will hang forever waiting for a server code.
2017-05-01 18:56:43 -07:00
Julien Laffaye
0895dc7f07
Merge pull request #83 from digineo/deadline
...
Add SetDeadline to Response
2017-04-15 20:58:00 +02:00
Julien Laffaye
07efa8ac2b
Merge pull request #84 from digineo/go1.8
...
Test with Go 1.7.5 and 1.8.1
2017-04-15 20:55:39 +02:00
Julian Kornberger
569481fc3b
Add SetDeadline to Response
...
closes #70
2017-04-15 12:18:04 +02:00
Julian Kornberger
fcbae662df
Test Go 1.7.5 and 1.8.1
2017-04-15 12:15:33 +02:00
Julien Laffaye
7b85eb4638
Document ServerConn is not safe for concurrent use.
...
Mention textproto.Error so users can access the error code via type
assertion (issue #78 ).
2017-03-04 13:34:31 +01:00
Julien Laffaye
cb3924c5c9
Merge pull request #80 from mappu/master
...
ftp: fix OPTS UTF8 ON for Filezilla Server
2017-03-04 13:04:48 +01:00
Julien Laffaye
602886c6b8
Do not export the scanner type
...
It is an internal specific to parse list responses.
2017-03-04 13:01:41 +01:00
Julien Laffaye
68918a8852
Remove useless assignment
2017-03-04 12:58:20 +01:00
mappu
28c104197d
ftp: fix OPTS UTF8 ON for Filezilla Server
...
Closes #77
2017-03-03 17:14:13 +13:00
Julien Laffaye
106ab1b13b
Merge pull request #76 from vahid-sohrabloo/patch-1
...
Add Size Command
2017-02-21 10:41:17 +01:00
Vahid Sohrabloo
7e0dbe8c48
Add more test in FileSize
2017-02-20 09:04:20 +03:30
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