陈大猫
3096f86889
fix(sftp): use remote cp for fresh same-host copies ( Fixes #4207 ) ( #4226 )
...
* fix(sftp): use remote cp for fresh same-host copies (Fixes #4207 )
Ordinary SFTP tasks were marked resumable, which skipped the existing file and directory cp optimizations. Select the non-resumable route only when creating fresh matching-host copies with eligible encodings, keeping transfer-center rows and recursive children consistent. Existing checkpointed transfers retain their saved resumable path; failed cp attempts retain the download/upload fallback.
* fix(sftp): skip same-host directory cp when auto encoding resolves to non-UTF-8
* fix(sftp): preserve dest mode when same-host cp replaces a file
* fix(sftp): skip same-host cp for symlinks and directory merges
* test(sftp): mock missing dest in same-host cp cache fixture
* fix(sftp): expose lstat on session-backed copy clients
2026-11-13 17:24:27 +08:00
..
2026-09-03 13:42:51 +08:00
2026-09-03 13:42:51 +08:00
2026-08-11 02:47:51 +00:00
2026-08-11 02:47:51 +00:00
2026-08-19 14:39:17 +08:00
2026-07-26 21:27:01 +08:00
2026-07-26 21:27:01 +08:00
2026-07-26 21:27:01 +08:00
2026-11-07 20:44:49 +08:00
2026-11-07 20:44:49 +08:00
2026-07-26 21:27:01 +08:00
2026-09-18 14:10:40 +08:00
2026-10-21 08:14:51 +08:00
2026-09-07 10:30:03 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-08-20 16:07:32 +08:00
2026-07-29 03:33:00 +08:00
2026-09-24 17:48:22 +08:00
2026-09-24 17:48:22 +08:00
2026-07-23 19:17:27 +08:00
2026-07-23 19:06:56 +08:00
2026-11-07 10:07:08 +08:00
2026-11-07 10:07:08 +08:00
2026-08-12 16:29:35 +08:00
2026-08-12 16:29:35 +08:00
2026-09-29 18:01:04 +08:00
2026-09-29 18:01:04 +08:00
2026-08-07 02:01:18 +08:00
2026-08-07 02:01:18 +08:00
2026-08-05 13:32:51 +08:00
2026-08-05 13:32:51 +08:00
2026-08-05 13:32:51 +08:00
2026-08-05 13:32:51 +08:00
2026-07-29 11:14:11 +08:00
2026-10-13 16:44:33 +08:00
2026-10-13 16:44:33 +08:00
2026-05-18 20:00:10 +08:00
2026-10-08 17:50:41 +08:00
2026-10-08 17:50:41 +08:00
2026-09-03 10:50:48 +08:00
2026-09-03 10:50:48 +08:00
2026-09-12 12:25:18 +08:00
2026-09-18 14:10:26 +08:00
2026-09-18 14:10:26 +08:00
2026-09-02 14:26:14 +08:00
2026-01-21 22:25:38 +08:00
2026-07-29 03:33:00 +08:00
2026-07-31 01:00:49 +08:00
2026-07-31 01:00:49 +08:00
2026-10-23 03:57:25 +08:00
2026-10-23 03:57:25 +08:00
2026-09-12 12:25:18 +08:00
2026-09-12 12:25:18 +08:00
2026-08-07 14:40:38 +08:00
2026-06-12 14:40:22 +08:00
2026-06-12 14:40:22 +08:00
2026-08-07 14:40:38 +08:00
2026-09-02 14:26:14 +08:00
2026-09-02 14:26:14 +08:00
2026-08-20 16:08:41 +08:00
2026-08-07 14:40:38 +08:00
2026-08-07 14:40:38 +08:00
2026-09-02 14:26:14 +08:00
2026-07-19 11:34:47 +08:00
2026-07-19 11:34:47 +08:00
2026-07-15 00:01:14 +08:00
2026-07-15 00:01:14 +08:00
2026-08-07 14:40:38 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-10-08 17:50:41 +08:00
2026-10-08 17:50:41 +08:00
2026-09-03 10:50:48 +08:00
2026-09-03 10:46:58 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-09-12 12:25:18 +08:00
2026-11-07 10:07:08 +08:00
2026-07-29 11:14:11 +08:00
2026-07-29 11:14:11 +08:00
2026-07-29 03:33:00 +08:00
2026-07-29 03:33:00 +08:00
2026-10-21 17:50:41 +08:00
2026-07-29 03:33:00 +08:00
2026-10-21 17:50:41 +08:00
2026-10-24 13:20:45 +08:00
2026-07-29 11:51:44 +08:00
2026-07-26 21:27:01 +08:00
2026-09-07 10:30:03 +08:00
2026-07-28 18:57:15 +08:00
2026-07-28 18:57:15 +08:00
2026-10-21 08:14:51 +08:00
2026-10-21 08:14:51 +08:00
2026-07-29 03:33:00 +08:00
2026-10-08 17:50:41 +08:00
2026-10-24 13:20:45 +08:00
2026-10-08 17:50:41 +08:00
2026-07-26 21:27:01 +08:00
2026-10-08 17:50:41 +08:00
2026-10-24 13:20:45 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-08-07 02:01:18 +08:00
2026-10-24 13:20:45 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-11-07 20:44:49 +08:00
2026-11-07 20:44:49 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-09-02 11:46:27 +08:00
2026-10-21 08:14:51 +08:00
2026-07-19 11:34:47 +08:00
2026-08-19 14:39:17 +08:00
2026-10-13 16:44:33 +08:00
2026-09-01 19:58:55 +08:00
2026-06-09 03:35:03 +08:00
2026-10-20 08:25:40 +08:00
2026-11-04 02:11:09 -08:00
2026-09-27 15:43:25 +08:00
2026-10-20 19:22:05 +08:00
2026-09-29 18:01:04 +08:00
2026-08-07 14:40:38 +08:00
2026-08-19 14:39:17 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-07-26 00:10:22 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-09-01 19:58:55 +08:00
2026-08-07 14:40:38 +08:00
2026-10-21 16:49:36 +08:00
2026-11-13 17:24:27 +08:00
2026-11-13 17:24:27 +08:00
2026-11-07 10:07:08 +08:00
2026-07-23 15:47:26 +08:00
2026-08-29 13:24:14 +00:00
2026-08-29 13:24:14 +00:00
2026-10-24 13:20:45 +08:00