The installation of Aspsmartupload can is 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
All of the aspsmartupload files are supplied in the zipped file, Aspsmartupload.zip.
Extract Aspsmartupload.zip to a temporary directory, making sure the directory structure remains.
If, for example, you extract the "file to \temp", you should the following:
You are have to register AspSmartUpload.dll on your server. The DLL can is registered by using either
Regsvr32.exe OR Microsoft Transaction Server (MTS).
1st solution:using RegSVR32
Copy AspSmartUpload.dll into 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 your 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.
The objective is to enable the AspSmartUploadUtil.dll file of the operating System to access.
There is two ways to archieve this:
-Copy AspSmartUploadUtil.dll in the C:\Winnt\System32 directory. That's 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)
Installation
The ASP application must is installed in a 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's way, an ISP can define he 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 the registry base.
Use the "REGEDIT command to" add this key and the "data" and their chain values that can select the
List below.
All the following data are the string type. If you use the REGEDT32 command the data must to be the REG_SZ
Type.
The following properties can be a entry in the Registry.
The component'll only have their value if they are felt in.
Totalmaxfilesize Maximum allowed size of all files to is uploaded.
MaxFileSize Maximum allowed size of one file to is 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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service