Commit graph

19 commits

Author SHA1 Message Date
ed09f6c0b7 Add IShare::getServer
Fixes #91
2020-05-15 17:28:48 +02:00
db50bb51bd add proper paths to exceptions during stream close and write 2020-04-08 17:20:22 +02:00
5330edcc57 remove unused method 2020-03-24 19:19:18 +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
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
raffis
f3e9e1e57a
if resource is opened with "a" append() will fail with code (6) 2019-03-28 14:46:25 +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
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
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
59519bad2c Implemented IShare::append(), leave ::write() due backwards compatibility 2018-08-28 16:21:15 +02:00
2842dffb51 run php-cs-fixer 2018-08-24 17:57:40 +02:00
24e0162914 respect timeout in native backend 2018-08-24 15:30:52 +02:00
2f261f868d more configurability for library users
- Make TimeZoneProvider and System overridable
- Add system for passing additional options
- make timeout configurable
2018-07-13 11:35:33 +02:00
29bdebad42 move backends into their own namespace and add support for multiple auth methods 2018-03-13 19:05:41 +01:00
Renamed from src/NativeShare.php (Browse further)