From owner-freebsd-questions Wed Apr 11 7:46:43 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f214.law11.hotmail.com [64.4.17.214]) by hub.freebsd.org (Postfix) with ESMTP id 3419937B422 for ; Wed, 11 Apr 2001 07:46:41 -0700 (PDT) (envelope-from burnscharlesn@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 11 Apr 2001 07:46:40 -0700 Received: from 24.21.122.151 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 11 Apr 2001 14:46:40 GMT X-Originating-IP: [24.21.122.151] From: "Charles Burns" To: thuanan@iam.ne.jp, freebsd-questions@FreeBSD.ORG Subject: Re: ftpd: How can I limit the size of uploaded files ? Date: Wed, 11 Apr 2001 07:46:40 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Apr 2001 14:46:40.0251 (UTC) FILETIME=[37BED4B0:01C0C296] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I don't know the answer to your question, but I have eadministered FTP sites before and have never seen any such option. One may exist, though, that I have not seen. If I recall correctly, the FTP server doesn't know what size the file will be until it is finished, but I haven;t seen this in the spec so I don't know. If this is the case, you could modify FTPd so that after so many bytes it terminates the connection (if you are really ambitious) or cancels the transfer. The FTPd source code is very clean If you would like to do this, you can get a copy of the FTP spec from: http://www.faqs.org/rfcs/rfc959.html There are a few extentions to the spec as well. To read those, replace the "959" in the URL with "2228". >From: "Thuan An ( NDK )" >To: >Subject: ftpd: How can I limit the size of uploaded files ? >Date: Wed, 11 Apr 2001 14:52:18 +0900 > > How can I control how large a file can be uploaded within ftpd? > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message