Code: Select all
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
*/
self::$includeFile = \Closure::bind(static function($file) {
576 include $file;
}, null, null);
}
}
It's not some random error, it's specific to the attachments in the file folder because they have no extensions. Every FTP client on the planet defaults to binary when there is no extension except Filezilla. This corrupts a binary file when transferred in ASCII mode, you can safely transfer ASCII files with binary mode.Mike-on-Tour wrote: Tue Apr 15, 2025 1:04 pm You need to transfer files with FileZilla using the binary mode otherwise you can get random errors such as the one you experienced.
That was very nicely worded.thecoalman wrote: Tue Apr 15, 2025 4:04 pm Every FTP client on the planet defaults to binary when there is no extension except Filezilla.
Yes, that's why I wrote "for some users". Therefore, we generally recommend changing these settings to eliminate or reduce these potential problems.invenio wrote: Tue Apr 15, 2025 7:44 pm The concurrent upload and download of setting to "1" must not be a consistent issue (or server dependent)