Date: Mon, 17 Jul 2006 13:06:01 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: net@freebsd.org, isp@freebsd.org Subject: forcing FTP-uploaded files to be of certain types only Message-ID: <200607171306.01882.mi%2Bmx@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
Hello! We run an FTP server for the customers to upload their data (usually -- giant core-files and database-dumps). Sometimes they forget compress them, however, wasting many gigabytes of our server's space... How hard would it be to make the stock FreeBSD FTP-server to examine the first, say, 100Kb of the uploaded file and interrupt transfer if the file is of a prohibited or is not of an allowed type? Anything under 100Kb is fine, I guess, and 100Kb is more than enough to detect compression or lack thereof... Thanks for ideas! -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607171306.01882.mi%2Bmx>