用户登录  |  用户注册
首 页商业源码原创产品编程论坛
当前位置:PB创新网文章中心编程技巧Delphi

关于 aspsmartupload 注册问题!

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2009-03-16 20:16:43
ASPSMARTUPLOAD : DOCUMENTATION <br>
Setup Instructions<br>
Last modified: August 1st, 1999<br>
© 2000 Advantys. All rights reserved. <br>
<br>
Overview <br>
Configuration required <br>
Stage 1 : Extract the downloaded file <br>
Stage 2 : Install aspSmartUpload.dll <br>
Stage 3 : Install aspSmartUploadUtil.dll <br>
Stage 4 : Install samples <br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Overview<br>
<br>
The installation of aspSmartUpload can be broken down into four main stages :<br>
<br>
- extract the downloaded file<br>
- saving the aspSmartUpload.dll file on the NT server<br>
- add the aspSmartUploadUtil.dll fils in the NT server Path<br>
- install the samples<br>
<br>
These four stages are fully described below.<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Configuration required<br>
<br>
Server :<br>
- 300Ko of free disk space<br>
- Windows NT 4 Service pack 3+, Microsoft IIS 4<br>
or Windows 95+, Personal Web Server, ASP<br>
or Windows 2000 <br>
<br>
For Microsoft IIS 3 users :<br>
+ VB5 Runtime<br>
+ asp.dll (version 1.0b+) : http://www.microsoft.com/office/intranet/modules/asp411s3.asp<br>
<br>
Browser :<br>
Your browser must be RFC 1867-compliant to be able to upload files.<br>
Netscape 3+ and Microsoft IE 3.02+ accept the RFC 1867.<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Stage 1 : Extract the downloaded file<br>
<br>
All the aspSmartUpload files are supplied in the zipped file, aspSmartUpload.zip.<br>
Extract aspSmartUpload.zip to a temporary directory, making sure the directory structure remains intact. If, for example, you extract the file to \temp, you should see the following :<br>
<br>
<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Stage 2 : Install aspSmartUpload.dll<br>
<br>
You have to register aspSmartUpload.dll on your server. The dll can be registered by using either Regsvr32.exe OR Microsoft Transaction Server (MTS).<br>
<br>
1st Solution: Using RegSVR32<br>
Copy aspSmartUpload.dll into a directory on the NT server (e.g. c:\mydir).<br>
Save the component using the commands :<br>
REGSVR32.EXE c:\mydir\aspSmartUpload.dll (From DOS or the Start/Run prompt)<br>
<br>
2nd Solution: Using Transaction Server<br>
Select the NT server on which you wish to install aspSmartUpload.<br>
Create a new batch.<br>
In the component folder, create a new component called aspSmartUpload.<br>
Paste aspSmartUpload.dll to the Transaction Server to save it.<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Stage 3 : Install aspSmartUploadUtil.dll<br>
<br>
The objective is to enable the Operating System to access the aspSmartUploadUtil.dll file.<br>
<br>
There is two ways to archieve this :<br>
- Copy aspSmartUploadUtil.dll in the c:\winnt\system32 directory. That way you don''t have to update the PATH propertie.<br>
- Copy aspSmartUploadUtil.dll into a directory on the NT server (e.g. c:\mydir).<br>
Add the component directory in the PATH using the commands :<br>
PATH=%PATH%;c:\mydir (From DOS)<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
Stage 4 : Install samples<br>
<br>
Installation<br>
The ASP application must be installed in an ASP-script-enabled web directory.<br>
<br>
If your site has the following structure :<br>
\inetpub<br>
\inetpub\scripts<br>
\inetpub\wwwroot<br>
<br>
Copy the<br>
\temp\aspSmartUpload\MyInetpub\scripts\aspSmartUpload directory<br>
to the<br>
\inetpub\scripts directory on your server.<br>
Copy the<br>
\temp\aspSmartUpload\MyInetpub\wwwroot\aspSmartUpload directory<br>
to the<br>
\inetpub\wwwroot directory on your server.<br>
<br>
Test<br>
Using your browser, enter the following addresses :<br>
http://your_web_server/aspSmartUpload/default.htm<br>
<br>
<br>
<br>
Overview<br>
<br>
It is possible to increase the level of security by using specific properties directly in the server''s registry base. That way, an ISP can define his own security parameters (maximum file size, access authorization limited to virtual directories, etc). The developers cannot modifiy the ISP parameters because the component uses in priority the security properties defined in the registry base.<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
The Registry case<br>
<br>
All the modifiable values in the Registry must be located under the following key:<br>
<br>
                HKEY_LOCAL_MACHINE\SOFTWARE\Advantys\aspSmartUpload<br>
<br>
Use the REGEDIT command to add this key and the data and their chain values that you can select in the list below. <br>
All the following data are the string type. If you use the REGEDT32 command the data must be the REG_SZ type.<br>
<br>
<br>
--------------------------------------------------------------------------------<br>
<br>
The Registry data<br>
<br>
The following properties can be an entry in the Registry.<br>
The component will only use their value if they are felt in.<br>
<br>
TotalMaxFileSize Maximum allowed size of all files to be uploaded. <br>
MaxFileSize Maximum allowed size of one file to be uploaded. <br>
AllowedFilesList Contains the upload authorized file extensions list. <br>
DeniedFilesList Contains the upload denied file extensions list. <br>
DenyPhysicalPath Prevents file saving in directories other than virtual directories. <br>

Tags:

作者:佚名

文章评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论
PB创新网ourmis.com】Copyright © 2000-2009 . All Rights Reserved .
页面执行时间:24,875.00000 毫秒
Email:ourmis@126.com QQ:2322888 蜀ICP备05006790号