diff --git a/copyparty/up2k.py b/copyparty/up2k.py index c8e658550..39da8b8ed 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -4409,7 +4409,7 @@ class Up2k(object): is_dir = stat.S_ISDIR(st.st_mode) except: # NOTE: "file not found" *sftpd - raise Pebkac(400, "file not found on disk (already deleted?)") + raise Pebkac(404, "file not found on disk (already deleted?)") if "bcasechk" in vn.flags and not vn.casechk(rem, False): raise Pebkac(400, "file does not exist case-sensitively")