Commit graph

42 commits

Author SHA1 Message Date
1f650a5fbf ensure we only initialize the state once 2018-01-18 15:44:45 +01:00
6691355d93 optimize get and put 2017-08-16 18:08:57 +02:00
85b101b701 optimize sequential writes to stream 2017-08-16 18:08:57 +02:00
8c89cb8972 Optimize reading of large files when using php-smbclient 2017-08-16 18:04:30 +02:00
8d473d219e phpdoc fixes 2016-12-12 22:34:33 +01:00
8c937d6126 Add INotifyHandler to make notify more flexible 2016-12-08 15:18:24 +01:00
68aa34962f reduce code duplication 2016-08-26 23:14:17 +02:00
Robin Appelman
e1b943bb8c use the smbclient based backend to implement notify for the libsmbclient backend 2016-04-26 14:43:11 +02:00
Robin Appelman
cf23de2702 add basic smb notify support
at the moment this only works when using the smbclient based backend
2016-04-25 18:15:34 +02:00
Robin Appelman
68c5ef5670 use regular stat instead of fstat 2016-03-14 15:09:41 +01:00
Robin Appelman
83388c4ffc handle empty paths 2016-01-19 19:39:52 +01:00
Robin Appelman
b538cf38d0 log fopen errors 2016-01-19 19:33:46 +01:00
Robin Appelman
1fb6581c8d handle invalid handles in Share->get 2016-01-19 18:41:33 +01:00
Robin Appelman
4ca3c3df22 Check for invalid characters in paths 2015-08-17 13:01:39 +02:00
Robin Appelman
33ab10cc4d improve support for workgroups/domains 2015-08-13 16:19:03 +02:00
Robin Appelman
545a95443a add missing connect 2015-06-24 14:40:02 +02:00
Robin Appelman
40fa68e426 Fix extracting workgroup from user 2014-11-27 18:40:36 +01:00
Robin Appelman
156d25d7f5 Encode urls in parts 2014-10-17 14:51:21 +02:00
Robin Appelman
d5106ac0a8 Move decoding the attribute string to the place it belongs 2014-08-27 09:57:52 +02:00
Robin Appelman
5b5905e494 Remove leftover restore_error_handler 2014-08-27 09:52:34 +02:00
Robin Appelman
dc13d50f06 Url encode path in the native share 2014-08-24 13:25:25 +02:00
Robin Appelman
5c57d2d094 Move Exceptions to their own namespace 2014-08-06 23:15:12 +02:00
Robin Appelman
9068418528 Add negative tests for stat and rename 2014-08-03 15:36:26 +02:00
Robin Appelman
b271e51d4b Fix check if share is already connected 2014-08-03 14:54:38 +02:00
Robin Appelman
fdb606257d Error handling in NativeStream 2014-08-03 14:49:00 +02:00
Robin Appelman
3888ae6b43 Add option to set file modes 2014-08-03 14:28:20 +02:00
Robin Appelman
3a6d77bc78 Better state and error handling 2014-08-03 01:36:23 +02:00
Robin Appelman
f444b7c138 remove unused code 2014-07-31 16:44:41 +02:00
Robin Appelman
00f74274a3 Fix unit test 2014-07-31 16:36:36 +02:00
Robin Appelman
1c11289d36 Introduce FileInfo objects for the result of dir and add readable and hidden attributes to files 2014-07-31 16:05:20 +02:00
Juan Pablo Villafañez
8f8f8cbf5e Throw connection errors in some extra cases 2014-07-29 13:52:19 +02:00
Robin Appelman
8d41d7a97b Clean native stream wrapping 2014-07-26 18:41:58 +02:00
Robin Appelman
5c48e22929 Improve phpdoc 2014-07-26 18:35:34 +02:00
Robin Appelman
451cce0626 Relicense to MIT 2014-07-26 18:21:46 +02:00
Robin Appelman
7c2393afb0 remove unused method 2014-07-22 23:44:49 +02:00
Robin Appelman
7035de036c Add more tests for stream 2014-07-22 02:00:42 +02:00
Robin Appelman
1c2745ccf2 Fix catching rmdir on file 2014-07-15 16:42:09 +02:00
Robin Appelman
5f80502017 Restore error handling after using libsmbclient-php 2014-07-15 16:40:58 +02:00
32f54c925b Merge pull request #3 from Xenopathic/patch-1
Fix errno comparison
2014-07-15 16:07:30 +02:00
Robin McCorkell
31b1cfdaf6 Fix smbclient_state_init argument order 2014-07-14 13:58:06 +01:00
Robin McCorkell
967a7a6898 Fix errno comparison 2014-07-14 13:27:39 +01:00
Robin Appelman
3c67574fff Add native implementation using the libsmbclient-php extensions 2014-07-13 17:13:23 +02:00