Commit eaf5cb1d authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't refuse to over-write a 0-byte file in the inbound dir.

parent d50aeb1a
......@@ -514,7 +514,7 @@ function callout_want_callback(fobj, fsize, fdate, offset, bp)
if (this.received_files.indexOf( != -1)
return this.file.REJECT;
// Reject or skip existing files.
if (file_exists( {
if (file_size( > 0) {
log(LOG_WARNING, "Inbound file already exists: " +;
// If the size and date are the same, reject it.
if (fsize == file_size( && fdate == file_date(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment