www.digitaldaze.com
Anonymous FTP support and FTP upload quotas

" How do we let anonymous FTP clients transfer files to our server? "
" Can we assign quotas to FTP users? "

We have installed a new FTP daemon on all the virtual servers which makes both of these features easier to implement.

New ftpd features

  1. .welcome support. If you create a file ~/ftp/.welcome, the contents of this file is displayed when a user logs in to your anonymous ftp site.
  2. .message support. If you create files named .message in the subdirectories of your ftp archive, then the message is displayed when a user changes into the directory. This is useful for helping tell users what the contents of the directory they just changed into is.
  3. Better "incoming" directory support. To make an "incoming", directory for your ftp users to drop files off in, simply create a directory and, inside this directory, add the file .incoming. For example,
            % mkdir ~/ftp/pub/incoming
            % touch ~/ftp/pub/incoming/.incoming
    The ".incoming" file flags the directory as a write-only directory. Anonymous FTP users can not read or list this directory. They also can not write over other files that are in this directory or create subdirectories.

    This new incoming directory support works well in protecting your virtual server against "WaReZ" attacks in which your ftp site is used to distrubute boot-legged software.

  4. Upload file quotas for virtual FTP users. The new ftpd allows you to set an upload file quota for your users to limit the file space they use. vadduser has been updated to support the ftp quota feature. Basically, the new vadduser will add a ",<number>" to the end of the password entry in ~/etc/passwd. This number will tell ftpd how much disk space the user is limited to. Note that these upload quotas only work with ftp. Files created/uploaded by other methods (i.e. FrontPage) are not resistricted.
 

[Legal Notice]
http://www.digitaldaze.com