Commit Graph

274 Commits

Author SHA1 Message Date
Alexander Vlasov
797351cd63 Fix undefined properties deprecated in PHP 8.2 2022-12-23 10:08:51 -06:00
Phil Davis
24845ccbcc delete of non-existent folder returns true when it used to ret 2022-10-04 17:56:23 -05:00
terrafrost
51cafda4a3 make PHP 8.1 32-bit changes compatable with raspberry pi's 2022-09-13 23:56:13 -05:00
Jeremy Albert
2ab212300e Avoid implicit conversion from float to int 2022-09-13 12:53:20 -05:00
terrafrost
f189b9aae2 SFTP: try without path canonicalization if initial realpath() fails
also make it so chdir works even without path canonicalization
2022-06-16 08:31:39 -05:00
terrafrost
85205bf6d5 SSH2: set channel closure flag elsewhere as well 2022-06-14 05:30:24 -05:00
Yan Hu
eb71a6da75 Detect if stream metadata has wrapper_type set for SFTP put() method 2022-05-10 22:13:52 -05:00
terrafrost
1dfd1b9cd4 SFTP: try to delete dir even if it can't be opened 2022-05-06 14:19:42 -05:00
PetrP
888867e7b6 SFTP: fix chgrp() for version < 4
$uid and $gid were flipped with dbfc762257
2022-01-08 19:50:22 -06:00
terrafrost
40035dc59c SFTP: don't attempt to parse unsupported attributes 2021-11-11 19:50:52 -06:00
terrafrost
8d4831ad1f SFTP: CS adjustments 2021-10-09 08:26:11 -05:00
terrafrost
a09eb04296
Merge pull request #1695 from terrafrost/sftpv456
add SFTP v4/5/6 support to phpseclib v1
2021-09-28 20:39:18 -05:00
terrafrost
367fede9c0 rm double _precheck from rename() 2021-09-15 20:23:31 -05:00
terrafrost
f6ae13a092 fixes for setting atime and mtime 2021-09-15 08:33:31 -05:00
terrafrost
d48bdde5c6 update comment 2021-09-14 20:34:30 -05:00
terrafrost
a64103a386 attr wasn't defined 2021-09-14 20:33:11 -05:00
terrafrost
4769de45f0 comment is no longer valid 2021-09-14 09:11:53 -05:00
terrafrost
bb17b35d3e preferentially use SFTPv3, since that's waaaay more tested than any other version 2021-09-14 09:05:41 -05:00
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
fc40727cfb SFTP: add disableArbitraryLengthPackets() 2021-08-24 20:22:29 -05:00
Nick Lassonde
20500123e5 add option to allow arbitrary length packets, for servers like OpenText which sends extremely long directory listings 2021-08-24 20:18:52 -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
0ec9d2bdf1 SFTP: CS adjustments 2021-07-28 20:33:52 -05:00
Nick Lassonde
dab514faff timeout in _get_channel_packet during _init_sftp_connection should be a failure 2021-07-28 20:01:19 -05:00
terrafrost
a02526e5e0 SFTP: return false if get_channel_packet returns false 2021-07-05 08:33:42 -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