Commit graph

269 commits

Author SHA1 Message Date
Robin Appelman
bbac31c5b0 dont buffer output when we're handling it in a callback 2016-04-26 12:08:43 +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
c50d9aa6a5 disable output buffering for smbclient 2016-04-25 17:44:08 +02:00
Robin Appelman
6e544f617c fix return values for smbclient backend 2016-04-08 11:02:27 +02:00
Robin Appelman
68c5ef5670 use regular stat instead of fstat 2016-03-14 15:09:41 +01:00
Robin Appelman
7aa7b44b7c return false if stream_stat fails 2016-03-09 13:09:44 +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
d8105d7695 fix php53 compat 2015-12-31 20:58:49 +01:00
Robin Appelman
b865f430d6 Improve locating file descriptors and smbclient/net commands 2015-12-31 20:45:18 +01:00
Robin Appelman
a07a5ad2ec Improved detection of connection errors 2015-12-31 20:36:23 +01:00
Robin Appelman
c92ae086f6 Put exception class in message 2015-11-27 13:41:08 +01:00
Robin Appelman
9277bd2026 also block \r 2015-08-17 16:20:38 +02:00
Robin Appelman
4ca3c3df22 Check for invalid characters in paths 2015-08-17 13:01:39 +02:00
Robin Appelman
b822af84c5 fix type 2015-08-14 16:51:14 +02:00
Robin Appelman
6e1f693ad5 escape host name 2015-08-14 14:15:41 +02:00
Robin Appelman
c36739bdc5 Dont send the command as shell argument when making a read/write stream 2015-08-14 14:03:46 +02:00
Robin Appelman
f299504ca5 Handle login server error 2015-08-14 12:43:15 +02:00
Robin Appelman
2fc9501826 fix php5.3 compat 2015-08-13 16:31:55 +02:00
Robin Appelman
33ab10cc4d improve support for workgroups/domains 2015-08-13 16:19:03 +02:00
wehr
e1e856a9a7 Fixes incorrect explode() parameters usage. 2015-06-27 21:13:10 +02:00
wehr
ba1bd316d3 Fixes incorrect explode() parameters usage. 2015-06-26 20:05:49 +02:00
Robin Appelman
545a95443a add missing connect 2015-06-24 14:40:02 +02:00
Martin
8ba262ccea Delete a unnecessary line which was forgotten to be removed 2015-04-17 12:54:59 +02:00
4f5d9db3a9 Merge pull request #25 from mmattel/Fix_for_non_Windows_Fileservers
Fix for allfinfo and parsStat for non Windows Fileservers
2015-04-10 14:10:08 +02:00
Martin
43e6c2e2d6 Close smbclient connections properly (#2) 2015-04-10 13:24:47 +02:00
root
286024db74 Fix for allfinfo and parsStat for non Windows Fileservers
Small update
2015-04-03 11:40:04 +02:00
Robin Appelman
476980d4ce Wait with getting the timezone from the server until we need it 2015-03-13 13:12:00 +01:00
Robin Appelman
ededbfbaa3 Work around issue where 'allinfo' keeps the file open 2015-02-10 17:37:37 +01:00
Robin Appelman
6629a780b0 handle invalid request exceptions when seeking 2015-02-09 13:32:04 +01:00
Robin Appelman
40e384e8ba Fix file name 2015-02-05 16:28:31 +01:00
Robin Appelman
c8a93a9033 Add exceptions for more connection failures 2015-02-05 14:16:38 +01:00
Robin Appelman
40fa68e426 Fix extracting workgroup from user 2014-11-27 18:40:36 +01:00
Robin Appelman
4049ff602f Fix indention 2014-11-19 00:41:35 +01:00
Robin Appelman
d311cd3c21 handle EACCES errors as forbidden 2014-11-14 14:50:39 +01:00
Robin Appelman
466ba929a3 fix stream_stat for native stream 2014-10-17 15:53:18 +02:00
Robin Appelman
f018d1cd0a fix return type of NativeStream seek 2014-10-17 15:37:58 +02:00
Robin Appelman
77c30c698f Pass path and error code to exceptions 2014-10-17 15:11:10 +02:00
Robin Appelman
156d25d7f5 Encode urls in parts 2014-10-17 14:51:21 +02:00
Robin Appelman
78375780ed Fix exception names in phpdoc 2014-08-27 17:22:51 +02:00
Robin Appelman
e4cb609342 Split out parsing of smbclient output 2014-08-27 11:49:06 +02:00
Robin Appelman
7278910ddc Check for errors in first output from setmode 2014-08-27 10:12:33 +02:00
Robin Appelman
b08a6d1b31 explicit cast 2014-08-27 10:07:09 +02:00
Robin Appelman
d8a52e90ca Fix phpdoc 2014-08-27 09:58:30 +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
fcb7aa6a55 implement feof for native stream 2014-08-26 19:36:16 +02:00
Robin Appelman
aaf2c049fd handle error from non-empty folders in nativeshare 2014-08-26 19:26:14 +02:00
Robin Appelman
c63516eaed Prevent line wrapping in smbclient 2014-08-24 14:19:21 +02:00