Commit Graph

268 Commits

Author SHA1 Message Date
Julien Laffaye
59f85871cf
Merge pull request #169 from flowrean/append-cmd
Add support for FTP append (APPE) command
2020-04-22 18:29:36 -04:00
Julien Laffaye
d4caf6ffca Add close on read example
Fixes #171
2020-03-31 16:49:19 +02:00
Julien Laffaye
041eae9a3d
Merge pull request #141 from johnepiscopo/add-walk
Adds the ability to walk through a directory tree
2020-03-13 11:03:37 -04:00
johnepiscopo
37a04759dd Fixed a typo so that we are no longer ignoring an error and am now using path.Join instead of fmt.Sprintf() 2020-03-10 14:26:54 +00:00
Florian Goetghebeur
827e50c0bd Add support for append (APPE) command 2020-03-10 11:43:17 +01:00
Florian Goetghebeur
adfb8ed9f3 Actually store file content in mock 2020-03-10 11:41:46 +01:00
Julien Laffaye
6841a2daa0 stale bot: ignore accepted issues 2020-03-09 18:13:36 +01:00
Julien Laffaye
e1b8fdd0dc Add stale bot 2019-12-17 23:19:57 -05:00
Julien Laffaye
a59fe673c9
Merge pull request #165 from xperimental/fix-travis
Fix Travis build
2019-10-25 13:51:06 -04:00
Robert Jacob
dfb8646068 Fix get of golint 2019-10-19 14:58:47 +02:00
Julien Laffaye
072f1b4f5a
Merge pull request #163 from xperimental/go-module
Add Go module definition
2019-10-18 14:46:50 -04:00
Robert Jacob
1fb6f135ee Run travis with current version. 2019-10-14 21:14:40 +02:00
Robert Jacob
c037483193 Create Go module. 2019-10-14 21:14:25 +02:00
Julian Kornberger
6aaa91c779 Run CI with currently supported Go versions (#159) 2019-08-28 13:37:36 -04:00
Julien Laffaye
7cd8b0bcf3 Fix spelling errors 2019-07-21 21:44:32 +02:00
Julien Laffaye
1c9975e197 gofmt 2019-07-21 21:36:15 +02:00
Ben Osborne
9bf9e0098a Improve readme (#154)
Improved the README.md file to include an example of storing and reading a file.
2019-07-18 21:16:16 +02:00
Julian Kornberger
c1312a7102 Correctly parse symlink (#152)
fixes #151
2019-06-24 10:48:59 +02:00
Julian Kornberger
9284a88df5 Support line with ACL permissions (#146)
closes #145
2019-05-22 12:26:03 +02:00
John Episcopo
74a8c4bcbc Renamed Step func to Next() as per PR comments 2019-05-20 08:56:38 +01:00
Gary Kim
8f5b34ce00 Complete Implicit FTPS support (#143)
feat: complete implicit ftps support
2019-05-19 22:39:11 +02:00
John Episcopo
434fa14f3d Added test to check the creation of the walker is 2019-05-02 09:47:29 +01:00
John Episcopo
a6055c7bc8 Added further tests 2019-05-02 09:29:41 +01:00
John Episcopo
e6e290ca7f Added initial logic and tests for the Walker 2019-05-01 17:00:01 +01:00
Alexander Pevzner
6a014d5e22 Add DialWithDialFunc to specify dial function used for both control and data connections (#140)
Add DialWithDialFunc to specify dial function used for both control and data connections

If used DialWithNetConn, DialWithNetConn takes precedence for
the control connection, while data connections will be established
using function specified with the DialWithDialFunc option
2019-04-27 18:36:46 +02:00
Julien Laffaye
e6de3d35bf Replace DialWithOptions with Dial
No need for a dedicated function as Dial can take no options.
2019-04-23 14:04:25 +02:00
Julien Laffaye
9b5a3addd7 Update issue templates 2019-04-17 13:25:58 +02:00
Julien Laffaye
8b7b512afb Add DialWithDebugOutput to log commands. 2019-04-17 13:16:26 +02:00
Julien Laffaye
75b9ebed79 Fix errors in example code 2019-04-15 18:34:29 +02:00
Julien Laffaye
52d3001130 Specify that a server conn is not concurrent safe.
Fixes #128
2019-04-11 17:57:07 +02:00
Julien Laffaye
73b56eeee6 Rework README
Add a badge link to godoc.org
Add a small code example
2019-04-10 20:28:22 +02:00
Julien Laffaye
04b1878733 Add DialWithOptions
DialWithOptions accept a variadic number of options, allowing to
introduce more options in the fure without breaking the API.
2019-04-10 20:25:16 +02:00
Julien Laffaye
55546487cf Use mock for all tests 2019-04-10 20:20:50 +02:00
Julien Laffaye
8019e67744 Add tests for StatusText 2019-01-26 09:10:51 +01:00
Julien Laffaye
b218223d02 Use error values in tests 2019-01-22 16:04:06 +01:00
Julien Laffaye
72f5c01749 StatusText returns a text for the FTP status code 2019-01-22 14:54:48 +01:00
Julien Laffaye
f75dead520 error strings should not be capitalized (ST1005) 2019-01-22 14:50:39 +01:00
Julien Laffaye
509a294b60 Add missing error check in RemoveDirRecur 2019-01-22 14:47:31 +01:00
Julien Laffaye
47f21d10f0
Merge pull request #124 from xperimental/upgrade-go
Update Go version in Travis build.
2018-11-01 12:24:34 +01:00
Julien Laffaye
fe787349a5
Merge pull request #126 from digineo/go-1.11
Run tests with Go 1.11
2018-10-11 17:09:54 +02:00
Julian Kornberger
89749c6313 Run tests with Go 1.11 2018-10-10 20:53:51 +02:00
Robert Jacob
a6cab19b01 Update Go version in Travis build. 2018-10-06 14:48:15 +02:00
Vladimir Buyanov
3f6433f7ea Workaround for FTP servers, that does not support UTF8 option. (#120)
* Workaround for FTP servers, that does not support UTF8 option.
2018-08-08 23:16:05 +02:00
Julien Laffaye
2403248fa8 Use last two Go version for travis 2018-04-04 14:35:14 +02:00
Julien Laffaye
dab2053398
Merge pull request #116 from freman/master
Make it possible to specify what timezone to parse timestamps in
2018-03-22 23:52:25 +01:00
Shannon Wynter
4772add9d0 Make it possible to specify what timezone to parse timestamps in 2018-03-20 15:07:44 +10:00
Julien Laffaye
427467931c
Merge pull request #115 from ncw/fix-pasv
Parse IP address returned with PASV to fix load balanced FTP servers
2018-02-05 00:23:34 +01:00
Nick Craig-Wood
8aeb589fce Parse IP address returned with PASV to fix load balanced FTP servers
Fixes #114
2018-02-04 16:02:56 +00:00
Julien Laffaye
83891dbe00
Merge pull request #110 from digineo/time-parsing
Fix time parsing and reduce syscalls
2018-01-05 08:56:08 +01:00
Julien Laffaye
2c34dfa9b1
Merge pull request #111 from digineo/golint
Add golint
2018-01-05 08:53:57 +01:00