dependabot[bot]
649c613fbc
Bump actions/cache from 3.3.2 to 4.0.0 ( #360 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.2 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](704facf57e...13aacd865c
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 17:45:40 -05:00
Jean-Luc Lacroix
a93533d16c
New date formats for non standard dates returned by LIST ( #354 )
2024-01-11 14:31:46 -05:00
dependabot[bot]
824fdbc882
Bump coverallsapp/github-action from 2.2.1 to 2.2.3 ( #351 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](95b1a2355b...3dfc556739
)
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:30:55 -05:00
dependabot[bot]
678cef9c13
Bump actions/cache from 3.3.1 to 3.3.2 ( #352 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](88522ab9f3...704facf57e
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:30:44 -05:00
dependabot[bot]
d019ddee92
Bump actions/checkout from 3.6.0 to 4.1.1 ( #353 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:30:31 -05:00
dependabot[bot]
a9581d60ae
Bump actions/setup-go from 4.1.0 to 5.0.0 ( #355 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](93397bea11...0c52d547c9
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:30:17 -05:00
dependabot[bot]
f58b250a0a
Bump github/codeql-action from 2 to 3 ( #357 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 14:30:06 -05:00
dependabot[bot]
bedccfb795
Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 ( #331 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 14:57:19 -05:00
Tamás Gulácsi
e44fc64e60
Fix PASV address like lftp does ( #349 )
...
Some behind-firewall-and-corporate-network FTP servers
responds their private-net address instead of the
publicly reachable.
This fix checks for such address and uses the
command channel's address instead.
2023-11-13 14:56:59 -05:00
dependabot[bot]
a58dc069db
Bump golangci/golangci-lint-action from 3.4.0 to 3.7.0 ( #344 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.4.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](08e2f20817...3a91952989
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:46:08 -05:00
dependabot[bot]
22efdfbe8a
Bump actions/setup-go from 4.0.1 to 4.1.0 ( #343 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](fac708d667...93397bea11
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:45:53 -05:00
dependabot[bot]
9226fc7f7c
Bump coverallsapp/github-action from 2.1.2 to 2.2.1 ( #341 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 2.1.2 to 2.2.1.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](f350da2c03...95b1a2355b
)
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:45:36 -05:00
dependabot[bot]
2b809c0747
Bump actions/checkout from 2.4.2 to 3.6.0 ( #345 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.4.2 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.4.2...v3.6.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 13:45:21 -05:00
dependabot[bot]
2c2aa379fd
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 ( #330 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 17:29:40 -04:00
dependabot[bot]
f5852338bb
Bump actions/setup-go from 4.0.0 to 4.0.1 ( #328 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4d34df0c23...fac708d667
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 17:29:21 -04:00
Nick Craig-Wood
36e873b513
Fix GetEntry / MLST for some servers - Fixes #321 ( #322 )
...
Some servers seem to send a blank line at the end of an MLST response.
MLST Download
250-
Size=53248;Modify=20230327134339.000;Type=dir; Download
250 Requested file action okay, completed.
Before this change this would cause the GetEntry method to return this
error.
unsupported LIST line
This patch ignores blank lines in the MLST response.
2023-05-12 22:29:37 -04:00
dependabot[bot]
0feadd74ba
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #311 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 22:27:57 -04:00
dependabot[bot]
67ffbbc0de
Bump actions/cache from 3.2.5 to 3.3.1 ( #318 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.5 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](6998d139dd...88522ab9f3
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 22:27:45 -04:00
dependabot[bot]
3eddb768d0
Bump actions/setup-go from 3.5.0 to 4.0.0 ( #319 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.5.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](6edd4406fa...4d34df0c23
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 22:27:33 -04:00
dependabot[bot]
f568a0d846
Bump coverallsapp/github-action from 1.1.3 to 2.1.2 ( #327 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 1.1.3 to 2.1.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](9ba913c152...f350da2c03
)
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 22:27:20 -04:00
dependabot[bot]
d84bf4be2b
Bump actions/cache from 3.2.4 to 3.2.5 ( #308 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](627f0f41f6...6998d139dd
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:46:52 -05:00
Nick Craig-Wood
9e39e2c406
Fix hang when using ExplicitTLS to certain servers. ( #283 )
...
In #282 it was discovered that doing the tls Handshake immediately on
connection causes some FTP servers (proftpd and pureftpd) to hang.
The exact cause of this is unknown, but this patch works around the
problem by not doing the Handsake initially, and only doing it at the
end if we were attempting to upload a zero length file.
Doing the Handshake at the end was originally added in
a4e9650823
however it got reverted in 212daf295f
which
used tls.DialWithDialer to do the handshake. Unfortunately
tls.DialWithDialer seems to trigger the hanging bug.
See: https://forum.rclone.org/t/rclone-ftps-explicit-rclone-touch-empty-files-proftpd-unable-to-build-data-connection-operation-not-permitted/22522
See: https://github.com/rclone/rclone/issues/6426#issuecomment-1243993039
Fixes #282
2023-02-08 11:46:41 -05:00
dependabot[bot]
58cb524052
Bump actions/cache from 3.2.3 to 3.2.4 ( #307 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](58c146cc91...627f0f41f6
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 11:44:47 -05:00
dependabot[bot]
0257a7bc42
Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ( #306 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](0ad9a0988b...08e2f20817
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 20:58:31 -05:00
dependabot[bot]
5fc8c694ec
Bump actions/cache from 3.2.0 to 3.2.3 ( #304 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](c17f4bf466...58c146cc91
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 13:19:23 -05:00
dependabot[bot]
b10ce93530
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #294 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 17:33:01 -05:00
dependabot[bot]
5b1ec4dc6c
Bump golangci/golangci-lint-action from 3.2.0 to 3.3.1 ( #297 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](537aa1903e...0ad9a0988b
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 17:32:28 -05:00
dependabot[bot]
a0ec57882b
Bump actions/setup-go from 3.3.0 to 3.5.0 ( #300 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](268d8c0ca0...6edd4406fa
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 17:32:07 -05:00
dependabot[bot]
917837ffbd
Bump actions/cache from 3.0.8 to 3.2.0 ( #301 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.8 to 3.2.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](fd5de65bc8...c17f4bf466
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 17:31:46 -05:00
dependabot[bot]
6512c2a4ae
Bump actions/setup-go from 2.2.0 to 3.3.0 ( #280 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](bfdd3570ce...268d8c0ca0
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:52:58 -04:00
dependabot[bot]
a2b3f0878b
Bump coverallsapp/github-action from 1.1.2 to 1.1.3 ( #274 )
...
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases )
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3 )
---
updated-dependencies:
- dependency-name: coverallsapp/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:46:14 -04:00
dependabot[bot]
b40593bd5a
Bump jandelgado/gcov2lcov-action from 1.0.8 to 1.0.9 ( #273 )
...
Bumps [jandelgado/gcov2lcov-action](https://github.com/jandelgado/gcov2lcov-action ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/jandelgado/gcov2lcov-action/releases )
- [Changelog](https://github.com/jandelgado/gcov2lcov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jandelgado/gcov2lcov-action/compare/v1.0.8...v1.0.9 )
---
updated-dependencies:
- dependency-name: jandelgado/gcov2lcov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:45:43 -04:00
dependabot[bot]
dca029e125
Bump golangci/golangci-lint-action from 2.5.2 to 3.2.0 ( #278 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 2.5.2 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](5c56cd6c9d...537aa1903e
)
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:45:22 -04:00
dependabot[bot]
08a9ec380c
Bump actions/cache from 2.1.7 to 3.0.8 ( #279 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.0.8.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](937d244753...fd5de65bc8
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 18:42:48 -04:00
Julien Laffaye
260999f2de
Secure GitHub workflows
2022-09-07 18:14:30 -04:00
Julien Laffaye
f1ba13192b
Add dependabot for github-actions
2022-09-07 18:03:34 -04:00
Julien Laffaye
9c3c2fd740
Add CodeQL and golangci-lint badges
2022-09-07 18:02:26 -04:00
Julien Laffaye
be12fe0263
Create codeql-analysis.yml
2022-09-07 17:48:18 -04:00
Øyvind Heddeland Instefjord
99be0634ab
Add forceListHidden dial option to force the use of 'LIST -a' command ( #271 )
...
This is useful for servers that do not offer up
hidden folders/files by default when using LIST/MLSD
commands.
Setting forceListHidden to true will force the use of
the 'LIST -a' command even when MLST support has
been detected.
2022-09-04 14:43:06 -04:00
Julien Laffaye
b85cf1edcc
Add default timeout to instantiate connection
2022-08-28 21:58:25 -04:00
Thomas Hallgren
0aeb8660a7
Add MLST command in the form of a Get method ( #269 )
...
* Add MLST command in the form of a Get method
The `LIST` and `MLSD` commands are inefficient when the objective
is to retrieve one single `Entry` for a known path, because the only way
to get such an entry is to list the parent directory using a data
connection. The `MLST` fixes this by allowing one single `Entry` to be
returned using the control connection.
The name `Get` was chosen because it is often used in conjunction with
`List` as a mean to get one single entry.
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
* Changes in response to code review:
- Rename `Get` to `GetEntry` (because it returns an `*Entry`)
- Add test-case for multiline response on the control connection
- Fix issues with parsing the multiline response.
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
* Add sample output from MLST to GetEntry comment.
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
* Changes in response to code review:
- Remove unused `time.Time` argument
- Add struct labels to make `govet` happy
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
* Remove time arg when calling parseNextRFC3659ListLine
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
Signed-off-by: Thomas Hallgren <thomas@datawire.io>
2022-08-21 17:25:29 -04:00
Julien Laffaye
4d1d644cf1
Mark Connect() and DialWithTimeout() as deprecated
2022-08-18 12:44:22 -04:00
Julien Laffaye
5a2fd50da8
ioutil is deprecated, use io package instead
2022-08-18 11:18:54 -04:00
Julien Laffaye
9cda78131d
Fix transferring spelling.
2022-08-18 10:17:32 -04:00
Julien Laffaye
39592b91e4
Assign type to TransferType constants
2022-08-17 19:43:45 -04:00
Julien Laffaye
fa83b53d0e
Use tls.Dialer to be able to use DialContext
2022-08-17 19:35:55 -04:00
Julien Laffaye
45482d097e
Use assert package to simplify tests
2022-08-17 19:24:40 -04:00
Julien Laffaye
560423fa8a
DialWithNetConn is a special case of DialWithDialFunc
2022-08-17 18:41:24 -04:00
Julien Laffaye
11536801d1
Merge pull request #264 from jlaffaye/dependabot/go_modules/github.com/stretchr/testify-1.8.0
...
Bump github.com/stretchr/testify from 1.7.2 to 1.8.0
2022-06-30 12:50:35 -04:00
dependabot[bot]
6c74f63d3c
Bump github.com/stretchr/testify from 1.7.2 to 1.8.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 15:39:38 +00:00