您的位置:首页技术开发ASP技巧 → 关于 aspsmartupload 注册问题

关于 aspsmartupload 注册问题

时间:2004/11/7 4:11:00来源:本站整理作者:蓝点我要评论(0)

ASPSMARTUPLOAD : DOCUMENTATION

Setup Instructions

Last modified: August 1st, 1999

© 2000 Advantys. All rights reserved.



Overview

Configuration required

Stage 1 : Extract the downloaded file

Stage 2 : Install aspSmartUpload.dll

Stage 3 : Install aspSmartUploadUtil.dll

Stage 4 : Install samples



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



Overview



The installation of aspSmartUpload can be broken down into four main stages :



- extract the downloaded file

- saving the aspSmartUpload.dll file on the NT server

- add the aspSmartUploadUtil.dll fils in the NT server Path

- install the samples



These four stages are fully described below.





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



Configuration required



Server :

- 300Ko of free disk space

- Windows NT 4 Service pack 3+, Microsoft IIS 4

or Windows 95+, Personal Web Server, ASP

or Windows 2000



For Microsoft IIS 3 users :

+ VB5 Runtime

+ asp.dll (version 1.0b+) : http://www.microsoft.com/office/intranet/modules/asp411s3.asp



Browser :

Your browser must be RFC 1867-compliant to be able to upload files.

Netscape 3+ and Microsoft IE 3.02+ accept the RFC 1867.





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



Stage 1 : Extract the downloaded file



All the aspSmartUpload files are supplied in the zipped file, aspSmartUpload.zip.

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 :









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



Stage 2 : Install aspSmartUpload.dll



You have to register aspSmartUpload.dll on your server. The dll can be registered by using either

Regsvr32.exe OR Microsoft Transaction Server (MTS).



1st Solution: Using RegSVR32

Copy aspSmartUpload.dll into a directory on the NT server (e.g. c:\mydir).

Save the component using the commands :

REGSVR32.EXE c:\mydir\aspSmartUpload.dll (From DOS or the Start/Run prompt)



2nd Solution: Using Transaction Server

Select the NT server on which you wish to install aspSmartUpload.

Create a new batch.

In the component folder, create a new component called aspSmartUpload.

Paste aspSmartUpload.dll to the Transaction Server to save it.





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



Stage 3 : Install aspSmartUploadUtil.dll



The objective is to enable the Operating System to access the aspSmartUploadUtil.dll file.



There is two ways to archieve this :

- Copy aspSmartUploadUtil.dll in the c:\winnt\system32 directory. That way you don't have to update the

PATH propertie.

- Copy aspSmartUploadUtil.dll into a directory on the NT server (e.g. c:\mydir).

Add the component directory in the PATH using the commands :

PATH=%PATH%;c:\mydir (From DOS)





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



Stage 4 : Install samples



Installation

The ASP application must be installed in an ASP-script-enabled web directory.



If your site has the following structure :

\inetpub

\inetpub\scripts

\inetpub\wwwroot



Copy the

\temp\aspSmartUpload\MyInetpub\scripts\aspSmartUpload directory

to the

\inetpub\scripts directory on your server.

Copy the

\temp\aspSmartUpload\MyInetpub\wwwroot\aspSmartUpload directory

to the

\inetpub\wwwroot directory on your server.



Test

Using your browser, enter the following addresses :

http://your_web_server/aspSmartUpload/default.htm







Overview



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.





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



The Registry case



All the modifiable values in the Registry must be located under the following key:



                HKEY_LOCAL_MACHINE\SOFTWARE\Advantys\aspSmartUpload



Use the REGEDIT command to add this key and the data and their chain values that you can select in the

list below.

All the following data are the string type. If you use the REGEDT32 command the data must be the REG_SZ

type.





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



The Registry data



The following properties can be an entry in the Registry.

The component will only use their value if they are felt in.



TotalMaxFileSize Maximum allowed size of all files to be uploaded.

MaxFileSize Maximum allowed size of one file to be uploaded.

AllowedFilesList Contains the upload authorized file extensions list.

DeniedFilesList Contains the upload denied file extensions list.

DenyPhysicalPath Prevents file saving in directories other than virtual directories.


相关阅读 Windows错误代码大全 Windows错误代码查询激活windows有什么用Mac QQ和Windows QQ聊天记录怎么合并 Mac QQ和Windows QQ聊天记录Windows 10自动更新怎么关闭 如何关闭Windows 10自动更新windows 10 rs4快速预览版17017下载错误问题Win10秋季创意者更新16291更新了什么 win10 16291更新内容windows10秋季创意者更新时间 windows10秋季创意者更新内容kb3150513补丁更新了什么 Windows 10补丁kb3150513是什么

文章评论
发表评论

热门文章 没有查询到任何记录。

最新文章 VB.NET 2005编写定时关 Jquery get/post下乱码解决方法 前台gbk gb如何使用数据绑定控件显示数据ASP脚本循环语句ASP怎么提速

人气排行 轻松解决"Server Application Error"和iis"一起学习DataGridView调整列宽用ASP随机生成文件名的函数Jquery get/post下乱码解决方法 前台gbk gbODBC Drivers错误80004005的解决办法返回UPDATE SQL语句所影响的行数的方法用Javascript隐藏超级链接的真实地址两个不同数据库表的分页显示解决方案