Commit graph

344 commits

Author SHA1 Message Date
999d6687ca unlink seems to work on directories with newer libsmbclient v3.2.4 2020-05-11 16:12:35 +02:00
43e2bd5966 ignore errors during cleanup 2020-05-11 16:05:46 +02:00
dd47833ed4 mark notify tests skipped when smb version isn't supported 2020-05-11 16:00:58 +02:00
bfcac80430 bumb travis to bionic 2020-05-11 15:31:14 +02:00
cb9c9c602d properly handle libsmbclient versions that return unix modes when we request a dos mode 2020-05-11 15:31:11 +02:00
927e330901 properly handle libsmbclient versions that return unix modes when we request a dos mode 2020-05-11 15:29:24 +02:00
db50bb51bd add proper paths to exceptions during stream close and write v3.2.3 2020-04-08 17:20:22 +02:00
b2a62743cf handle exceptions during stream close v3.2.2 2020-04-07 18:18:11 +02:00
b48dfc0927 add network reset error, fix connection reset 2020-04-03 17:03:38 +02:00
5330edcc57 remove unused method v3.2.1 2020-03-24 19:19:18 +01:00
4411326dde ignore any errors while trying to send the close command, the process might already be dead 2020-03-24 19:13:02 +01:00
b594f7c408 use system.dos_attr.* for both mode and stat info
this enables getting all the info needed for the FileInfo in a single request, instead of requiring two
2020-03-24 16:29:44 +01:00
63319ec68b fix mode parsing for php 7.4 v3.2.0 2020-02-10 16:22:31 +01:00
9fb1753828 remove debug 2020-02-10 16:17:30 +01:00
742be89589 travis fix 2020-02-10 16:15:06 +01:00
444cc1cdfb Revert "Use stat to fetch mode"
This reverts commit 26ba16309d.
2020-02-10 16:14:55 +01:00
7fc664a327 bumb phpunit version 2020-02-10 16:09:11 +01:00
3c5e45dc54 allow getting acls of files 2020-02-10 15:52:48 +01:00
Julius Härtl
acd992ad8c
Add error exception for ECONNRESET
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 12:59:37 +01:00
Julius Härtl
26ba16309d
Use stat to fetch mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-08 12:58:38 +01:00
065daa49cb remove outdated readme 2019-10-18 16:10:29 +02:00
e6c7a6763b
Merge pull request #83 from Brammm-forks/master v3.1.2
Only open target if source can be opened
2019-08-08 11:42:26 +02:00
Bram Van der Sype
c67e9b9222 Only open target if source can be opened
This prevents empty files from being created if a remote file can't be opened.
2019-08-08 11:12:37 +02:00
2877a6e3da
Merge pull request #81 from lucashtc/patch-1
Update README.md
2019-05-10 11:40:17 +02:00
Lucas Henrique Teixeira Coelho Dias
8b5ab4ecf3
Update README.md 2019-05-08 12:23:13 -03:00
2580be8caf
Merge pull request #79 from raffis/busybox
smbclient wrapper not compatible with busybox
2019-03-30 18:23:34 +01:00
raffis
f3e9e1e57a
if resource is opened with "a" append() will fail with code (6) 2019-03-28 14:46:25 +01:00
raffis
e30d3afd08
using exec to start smbclient, replaces the need to kill forked procs 2019-03-28 14:45:43 +01:00
26b7b87803
Merge pull request #77 from cowai/fix-read v3.1.1
Fix connection->read() when first line is not prompt.
2019-03-04 16:02:42 +01:00
Ari Selseng
ebdada86f1 Fix connection->read() when first line is not prompt.
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-01 16:43:46 +01:00
db16d4430c update readme v3.1.0 2019-02-06 15:17:35 +01:00
65afed1192 test on 7.3 2019-02-06 15:08:28 +01:00
5d1e55f67f improve timezone detection 2019-02-06 15:03:16 +01:00
20da159fe4
Merge pull request #74 from raffis/master
Fixes multibyte issue with basename()
2018-11-13 18:03:36 +01:00
Raffael Sahli
9a6fbed231 php5 compatibility 2018-09-21 14:47:42 +02:00
Raffael Sahli
523d1bcc12 fixes multibyte filename issue with basename() 2018-09-21 14:41:31 +02:00
00fa2ae40c
Merge pull request #73 from MatthiasKuehneEllerhold/cs-fixer-in-dev
Move the php-cs-fixer to require-dev
2018-09-05 12:44:41 +02:00
Matthias Kühne
1c58fe9ae6
Move the php-cs-fixer to require-dev 2018-09-05 08:01:27 +02:00
0fc2a0820c fix test case for append 2018-08-28 16:34:47 +02:00
aec9b6f2f8 style and error message fixes 2018-08-28 16:22:59 +02:00
83cea01c56 enforce code style with php-cs in travis 2018-08-28 16:22:59 +02:00
350e19c285 Make NativeShare::getStat private to avoid confusion with NativeShare::stat 2018-08-28 16:22:59 +02:00
6e724b8986 minor docblock fixes 2018-08-28 16:22:59 +02:00
Raffael Sahli
dd7b852d6c fixes requested changes for #70 (No php-libsmb fallback) 2018-08-28 16:22:59 +02:00
Raffael Sahli
99f721a436 spaces to tab fix 2018-08-28 16:22:59 +02:00
Raffael Sahli
1cb1f3f56a added append() to Wrapped/Share as proxy to Native/Share 2018-08-28 16:21:17 +02:00
Raffael Sahli
0a9b035800 updated readme 2018-08-28 16:21:17 +02:00
59519bad2c Implemented IShare::append(), leave ::write() due backwards compatibility 2018-08-28 16:21:15 +02:00
bebed6f456 add .editorconfig 2018-08-24 17:57:40 +02:00
2842dffb51 run php-cs-fixer 2018-08-24 17:57:40 +02:00