diff options
author | Ondrej Holy <oholy@redhat.com> | 2020-10-05 09:55:11 +0000 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-01-08 10:36:41 +0000 |
commit | c82270ccc4921cf2a67c67ab00581fc7231de123 (patch) | |
tree | 9d620170b477a5f07e33d3993a913fef55505acc /daemon/admin.mount.in | |
parent | 7a2203cf5a878b48f31a5d51f5ea39824b776c44 (diff) | |
download | gvfs-c82270ccc4921cf2a67c67ab00581fc7231de123.tar.gz |
ftp: Prevent source file removal in case of transfer failure
When moving file from FTP to local filesystem, the remote file is removed
regradless of transfer failure. This is pretty bad as it might lead to data
loss. Let's delete the remote file only if the transfer suceeded.
(cherry picked from commit 44f256758bbd7a898414779f3456ac9320428025)
Diffstat (limited to 'daemon/admin.mount.in')
0 files changed, 0 insertions, 0 deletions