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
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 :
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.
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)
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