YesYo.com MintState Forums
뒤로    YesYo.com MintState BBS > Tech > Linux
검색
멤버이름    오토
비밀번호 
 

proftp 파일업로드 제한

페이지 정보

작성자 MintState 댓글 0건 조회 16,049회 작성일 08-12-04 22:11

본문

proftp 파일업로드 제한

** MaxStoreFileSize **

Syntax : MaxStoreFileSize [ number|"*" units "user"|"group"|"class" expression]] 
Default : None 
Context : server config, <Global>, <VirtualHost>, <Anonymous>, <Directory>, .ftpaccess Compatibility : 1.2.7rc1 and later, and requried mod_xfer

 
When uploading files from a client (eg serving a STOR request), the server will check for any configured limit against the size of the file being sent, and abort any transfers if/when the given file's size exceeds the configured limit.

A single "*" argument configures unlimited file sizes, and is used primarily to override any inherited restrictions from higher contexts. The given number is the number of bytes for the limit, and is followed by a units specifier of (case-insensitive) "Gb" (Gigabytes), "Mb" (Megabytes), "Kb" (Kilobytes), or "B" (bytes).
The given number of bytes is multiplied by the appropriate factor.

The optional parameters are used to restrict the file size limits only to specific users. If the "user" restriction is given, then expression is a user-expression specifying to which users the rule applies. Similarly for the "group" restriction. For the "class" restriction, the expression is simply the name of connection class for whom the rule will apply. If no matching user, group, or class expression is found for the current user (in that order), then a limit with no expression (ie no "user", "group", or "class" identifier) is applied.

Examples :


----------------------------------------------------------------------

** MaxRetrieveFileSize **

Syntax : MaxRetrieveFileSize [ number|"*" units "user"|"group"|"class" expression]] 
Default : None 
Context server config, <Global>, <VirtualHost>, <Anonymous>, <Directory>, .ftpaccess 
Compatibility : 1.2.7rc1 and later, and required mod_xfer
 

When downloading files to clients (eg serving a RETR request), the server will check for any configured limit against the size of the file being requested, and abort any transfers if the requested file's size exceeds the configured limit.

A single "*" argument configures unlimited file sizes, and is used primarily to override any inherited restrictions from higher contexts. The given number is the number of bytes for the limit, and is followed by a units specifier of (case-insensitive) "Gb" (Gigabytes), "Mb" (Megabytes), "Kb" (Kilobytes), or "B" (bytes).
The given number of bytes is multiplied by the appropriate factor.

The optional parameters are used to restrict the file size limits only to specific users. If the "user" restriction is given, then expression is a user-expression specifying to which users the rule applies. Similarly for the "group" restriction. For the "class" restriction, the expression is simply the name of connection class for whom the rule will apply. If no matching user, group, or class expression is found for the current user (in that order), then a limit with no expression (i.e. no "user", "group", or "class" identifier) is applied.

Examples :

댓글목록

등록된 댓글이 없습니다.

Total 360건 10 페이지
Linux 목록
번호 제목 글쓴이 조회 날짜
180 MintState 15828 11-05
179 MintState 15831 11-10
178 MintState 15834 11-10
177 MintState 15836 10-30
176 MintState 15841 11-05
175 MintState 15843 11-05
174 MintState 15852 01-05
173 MintState 15856 12-24
172 MintState 15868 11-10
171 MintState 15868 11-17
170 MintState 15868 11-20
169 MintState 15873 11-05
168 MintState 15932 11-05
167 MintState 16049 11-17
열람중 MintState 16050 12-04
165 MintState 16060 01-05
164 MintState 16077 01-05
163 MintState 16118 10-30
162 MintState 16228 11-05
161 MintState 16236 10-30
게시물 검색
모바일 버전으로 보기
CopyRight ©2004 - 2024, YesYo.com MintState. ™