新客网WWW.XKER.COM:致力做中国最专业的网络学院!
学院: 操作系统 - 网络应用 - 服务器 - 网络安全 - 工具软件 - 办公软件 - Web开发 - 数据库 - 网页设计 - 图形图像 - 媒体动画 - 硬件学堂 - 存储频道 - QQ专区
您的位置:首页 > 软件开发 > Web开发 > Asp教程 > 正文:关于 aspsmartupload 注册问题!

关于 aspsmartupload 注册问题!

新客网 XKER.COM 2003-07-11 来源: 收藏本文
ASPSMARTUPLOAD : DOCUMENTATION <br>
Setup Instructions<br>
Last modified: August 1st, 1999<br>
&copy; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>
收藏】 【评论】 【推荐】 【投稿】 【打印】 【关闭
发表评论
要记得去论坛讨论,点击注册新会员匿名评论
评论内容:不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
阅读排行
随机推荐
实用信息推荐