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 :
영삼넷
Categories
Recent Posts
Recent Comments
Statistics
- Total Visitors:
- 415933
- Today:
- 6845113
- Yesterday:
- 9756951
IT강국 김영삼 블로그에 오신걸 진심으로 환영합니다.
©2002 영삼넷 // openkr
©2002 영삼넷 // openkr