Commit Graph

251 Commits

Author SHA1 Message Date
terrafrost
9ae2b0030d SFTP: update get(), put() and touch() 2021-09-13 09:08:48 -05:00
terrafrost
5fcba4627f update rename 2021-09-11 21:24:43 -05:00
terrafrost
6303fbac9e fix OpenSSH detection 2021-09-09 05:39:20 -05:00
terrafrost
ced7dab1d5 update symlink 2021-09-08 09:34:16 -05:00
terrafrost
41b5f7cfe9 tweak version management stuff 2021-08-29 13:11:26 -05:00
terrafrost
42b4ab065b typo 2021-08-29 13:04:32 -05:00
terrafrost
4102bbaccc add precheck in a few more places 2021-08-29 13:02:09 -05:00
terrafrost
19e7737ead fix _precheck 2021-08-29 13:00:21 -05:00
terrafrost
c9e4944370 pwd didn't work if called first 2021-08-27 21:57:38 -05:00
terrafrost
a25d3a75d3 fix pre-php-5.4 syntax error 2021-08-27 12:40:38 -05:00
terrafrost
69dba39bc9 update chown / chgrp if stmt 2021-08-26 20:18:27 -05:00
terrafrost
dbfc762257 update chown and chgrp to wor with sftpv4+ 2021-08-26 18:26:57 -05:00
terrafrost
1f1e2794c7 add attribute reading for sftpv6 2021-08-26 09:23:33 -05:00
terrafrost
f56158e73f add attribute reading for sftpv5 2021-08-01 23:16:31 -05:00
terrafrost
092bad12c5 add attribute reading for sftpv4 2021-07-31 15:38:21 -05:00
terrafrost
4cb6bcb75e add setPreferredVersion() and other changes 2021-07-31 13:00:52 -05:00
terrafrost
bf88ba4382 incremental commit 2021-06-25 11:29:03 -05:00
terrafrost
0673370eda SFTP: don't check SFTP packet size after SFTP initialization 2021-06-15 07:24:34 -05:00
terrafrost
9c47b0a696 SFTP: reopen channel on channel closure 2021-05-11 20:20:46 -05:00
terrafrost
a45ccbacb7 SFTP: digit only filenames were converted to integers by php 2021-03-08 23:03:38 -06:00
terrafrost
c21147a5bd SFTP: clean up real time logging 2020-12-19 01:05:36 -06:00
terrafrost
0b20aff6ff SFTP: CS adjustments 2020-11-26 21:08:49 -06:00
Adrian
9547587cb7 SFTP: add stream to get method 2020-11-26 18:56:02 -06:00
Thomas A. Hirsch
b2ae60f0a9 $progressCallback should be called after a specific amount of data has been received and not, if its just requested, as the requested packets might be more as the available and received data. 2020-10-31 15:05:05 -05:00
William Desportes
2ae683479a
Fix phpdoc errors 2020-09-09 09:43:26 +02:00
terrafrost
f4e017f383 SFTP: "fix" rare resource not closed error 2020-08-30 08:21:50 -05:00
terrafrost
239bc63618 SSH2: uploads on low speed networks could get in infinite loop 2020-08-09 11:00:12 -05:00
terrafrost
ea653e1b01 SFTP: add enableDatePreservation() / disableDatePreservation() 2020-07-30 09:12:23 -05:00
terrafrost
d8e39b0864 SFTP: change upload packet size from 4KB to 32KB 2020-07-07 23:47:17 -05:00
terrafrost
ef9785d9c5 SFTP: if /path/to/file is a file then /path/to/file/whatever errors 2020-05-10 23:51:16 -05:00
terrafrost
a07f5bc6a2 SFTP: realpath('') produced an error 2020-05-01 21:34:44 -05:00
terrafrost
c301ddf38f SFTP: make it so extending SFTP class doesn't cause a segfault 2020-04-04 12:47:30 -05:00
terrafrost
5e2951f83a SFTP: change the mode with a SETSTAT instead of MKDIR 2020-03-28 18:04:26 -05:00
terrafrost
229f6af1ca SFTP: re-use SSH2 login method 2020-03-09 19:49:20 -05:00
terrafrost
08e4096e7c SFTP: speed up uploads 2020-02-25 20:37:20 -06:00
terrafrost
db6ce986f3 Revert "SFTP: don't buffer up download requests (PuTTY doesn't)"
This reverts commit 333e2e4c2b.
2020-02-24 22:14:28 -06:00
terrafrost
333e2e4c2b SFTP: don't buffer up download requests (PuTTY doesn't) 2019-12-25 11:31:43 -06:00
terrafrost
fbf36728fd SSH2 / SFTP: fix issues with ping() 2019-09-10 17:31:43 -05:00
terrafrost
f8d8ad24fd Merge branch '1.0-callback' into 1.0 2019-06-16 15:31:22 -05:00
Rubens Matrono
a7d038830c fix array_merge(): Argument #1 is not an array 2019-06-16 11:03:27 -05:00
terrafrost
e988abcdb1 SFTP: add callback parameter to get() 2019-06-02 08:19:41 -05:00
terrafrost
8df35cc368 SFTP: improve handling of malformed packets 2019-05-28 08:47:34 -05:00
terrafrost
fce6063de6 SFTP: make it so get() can correctly handle out of order responses 2019-03-03 18:38:57 -06:00
terrafrost
f7f156b537 SFTP: use lstat in rawlist instead of stat 2018-08-18 15:02:42 -05:00
Dean Sas
426dbdbfcd Ensure SFTP::rawlist gives same results regardless of statcache
Previously SFTP::rawlist gave different results depending on whether the
stat cache was enabled or not. With the stat cache turned off it did not
treat directories correctly, as it relied on the stat cache even though
it was not populated.
2018-08-18 08:36:16 -05:00
terrafrost
1468ef1a23 SFTP: fix issue with extended attribute on 64-bit PHP installs 2018-02-07 21:22:54 -06:00
terrafrost
30a11a3951 SFTP: update state cache accordingly when file becomes directory 2018-01-01 13:07:45 -06:00
terrafrost
309fa0af44 SSH/SFTP: more adustments to channel handling 2017-11-23 09:31:34 -06:00
terrafrost
deb485c0e1 SFTP: fix put() with remote file stream resource (#1177) 2017-09-05 21:59:51 -05:00
Yannick Breuer
acebfe28d6 DOC: Fix sftp errors var type 2017-07-30 10:18:08 -05:00