mirror of
https://github.com/9001/copyparty.git
synced 2025-11-24 07:23:22 -07:00
fix: ftp append
This commit is contained in:
parent
dbd8f837e8
commit
ab7d285d0b
|
|
@ -249,7 +249,8 @@ class FtpFs(AbstractedFS):
|
|||
need_unlink = False
|
||||
td = 0
|
||||
|
||||
if w and need_unlink:
|
||||
# Don't unlink file for append mode
|
||||
if w and need_unlink and "a" not in mode:
|
||||
if td >= -1 and td <= self.args.ftp_wt:
|
||||
# within permitted timeframe; unlink and accept
|
||||
do_it = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue