Commit graph

9 commits

Author SHA1 Message Date
Kovid Goyal
05d3ee35ff
Transfer kitten: Clearer errors when the destination is a directory
Refuse to replace an existing directory, or a symlink to a directory, with
a file, reporting EISDIR before any data is transferred instead of a raw
OSError (or silently replacing the symlink). Report failures to create
parent directories with the actual errno and directory name. When a send
fails, the kitten now prints hints for the common causes: a missing
trailing slash on a directory destination and a ~ expanded by the shell
on the remote machine.

Fixes #8118
Closes #10710
2026-10-21 06:14:21 +05:30
Kovid Goyal
6f588a0c29
run modernize 2025-11-11 17:09:37 +05:30
Kovid Goyal
aad1ab3fd9
DRYer 2023-07-30 19:49:46 +05:30
Kovid Goyal
b60d15fe75
Make short duration formatter re-useable 2023-07-30 19:49:46 +05:30
Kovid Goyal
9694bd03d8
... 2023-07-30 19:49:46 +05:30
Kovid Goyal
44190c4220
Fix render_duration() 2023-07-30 19:49:46 +05:30
Kovid Goyal
e60fef3ba1
More tests for send kitten 2023-07-30 19:49:44 +05:30
Kovid Goyal
e73e421a5f
Finish serialization of FTC 2023-07-30 19:49:37 +05:30
Kovid Goyal
55bbf175c6
Port send file mapping tests 2023-07-30 19:49:37 +05:30