forcing FTP-uploaded files to be of certain types only



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
_______________________________________________
freebsd-isp@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • forcing FTP-uploaded files to be of certain types only
    ... We run an FTP server for the customers to upload their data (usually -- giant ... Sometimes they forget compress them, however, wasting many gigabytes of our ... first, say, 100Kb of the uploaded file and interrupt transfer if the file is ...
    (freebsd-net)
  • Re: forcing FTP-uploaded files to be of certain types only
    ... Maybe it would be better to examine files periodically that were uploaded via a simple program, and anything that isn't allowed, destroy. ... You could also make it compress things that weren't compressed to begin with, ... We run an FTP server for the customers to upload their data ... gigabytes of our ...
    (freebsd-isp)
  • Re: forcing FTP-uploaded files to be of certain types only
    ... Maybe it would be better to examine files periodically that were uploaded via a simple program, and anything that isn't allowed, destroy. ... You could also make it compress things that weren't compressed to begin with, ... We run an FTP server for the customers to upload their data ... gigabytes of our ...
    (freebsd-net)
  • Re: File Upload Web Service
    ... using vba with wininet api for the upload because I need the solution to ... > client(OFFICE VBA ?). ... > However, since you'd like to call the webservice in VBA application, I ... > capable of handling client uploaded file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to cut a MP3 in half?
    ... Is there a way to cut it in half and then upload it? ... Maybe you could just "compress" it to ZIP or tar.gz or whatever format, ... uuencode Track.mp3 Track.mp3> Track.uu ... You will now have the EXACT original file, ...
    (Ubuntu)