Date: Wed, 11 Apr 2001 07:46:40 -0700 From: "Charles Burns" <burnscharlesn@hotmail.com> To: thuanan@iam.ne.jp, freebsd-questions@FreeBSD.ORG Subject: Re: ftpd: How can I limit the size of uploaded files ? Message-ID: <F214pAdPnDC1iFnSHPA00004fbf@hotmail.com>
next in thread | raw e-mail | index | archive | help
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 )" <thuanan@iam.ne.jp> >To: <freebsd-questions@FreeBSD.ORG> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F214pAdPnDC1iFnSHPA00004fbf>