📄 manual_intro.html
字号:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Developer Studio">
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="KEYWORDS" content="ASP UPLOAD ASPUPLOAD PWS BLOB Personal Web Server IIS Internet Information Server ASP UPLOADING UPLOAD DEC ALPHA AlphaServer AspUpload Persits Software Persits Web ASP Active Server Pages Active Server Component Upload browser TYPE=FILE TYPE FILE Windows NT Web ACL ACE Access Control List Directory Listing Export Attribute FILE FREE RFC ie3 ie4 posting acceptor posting acceptor RFC1867 RFC-1867 1867 Component ENCTYPE multipart/form-data multipart SA-FileUp ActiveFile Database Multiple software artisans activefile vbscript activex jscript netscape internet explorer download downloading unique form limit size">
<meta name="KEYWORDS" content="ASP, UPLOAD, ASPUPLOAD, PWS, BLOB, Personal Web Server, IIS, Internet Information Server, ASP, UPLOADING, UPLOAD, DEC, ALPHA, AlphaServer, AspUpload, Persits Software, Persits, Web, ASP, Active Server Pages, Active Server Component, Upload, browser, TYPE=FILE, TYPE, FILE, Windows, NT, Web, ACL, ACE, Access Control List, Directory, Listing, Export, Attribute, FILE, FREE, RFC, ie3, ie4, posting acceptor, posting, acceptor, RFC1867, RFC-1867, 1867, Component, ENCTYPE, multipart/form-data, multipart, SA-FileUp, ActiveFile, Database, Multiple, software, artisans, activefile, vbscript, activex, jscript, netscape, internet, explorer, download, downloading, unique, form, limit, size">
<meta name="DESCRIPTION" content="AspUpload.com - the home of the most advanced upload solution for a Windows NT/ASP-based Web environment">
<TITLE>AspUpload.com - User Manual. Chapter 1</TITLE>
</HEAD>
<BODY BACKGROUND="bk.gif" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<BASEFONT FACE="Helvetica, Arial" SIZE=1>
<!-- Main Data table -->
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" WIDTH="705">
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="160">
<FONT FACE="arial narrow" Size=2>
<B>
<IMG SRC="spacer.gif" BORDER="0" HEIGHT="15"><BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="index.html">Home</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="whatsnew.html">What's New</A>
<P>
<IMG SRC="sq.gif"><IMG SRC="square_pressed.gif"> <A HREF="manual.html">User Manual</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small_pressed.gif"> 1. Introduction<BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_simple.html">2. Simple Uploads</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_memory.html">3. Memory Uploads</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_db.html">4. Database</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_progress.html">5. Progress Bar</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_security.html">6. Security</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_image.html">7. Images</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_unicode.html">8. Unicode</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_misc.html">9. Miscellaneous</A><BR>
<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="manual_share.html">10. Hosting Issues</A><BR>
<P>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="objectreference.html">Object Reference</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="livedemo.html">Live Demos</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="support.html">Support</A>
<P>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="xupload.html">XUpload</A><BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="jupload.html">JUpload</A><BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="aspjpeg.html">AspJpeg</A><BR>
<P>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="download.html">Download</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="purchase.html">Purchase</A>
<P>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="clients.html">Clients</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="otherproducts.html">Other Products</A>
<BR>
<IMG SRC="sq.gif"><IMG SRC="square.gif"> <A HREF="contact.html">Contact Us</A>
<FORM TARGET="_new" ACTION="http://support.persits.com/emails/signup.asp">
<FONT FACE="Arial Narrow" SIZE="2" COLOR="#9C3131"><IMG SRC="sq.gif"><B>Newsletter Signup</B></FONT><BR>
<IMG SRC="sq.gif"><INPUT TYPE="TEXT" NAME="email" SIZE="15" VALUE="e-mail address"></FORM>
</B>
</FONT>
</TD>
<TD VALIGN=TOP WIDTH=545 ALIGN="LEFT">
<!-- Right Column with data -->
<IMG SRC="sq.gif"><BR>
<IMG SRC="manual.gif">
<BR>
<TABLE WIDTH=540 HEIGHT=2 CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TD BGcolor="#FFCE00"><spacer type=block width=540 height=2></TD>
</TABLE>
<P>
<FONT SIZE=2 FACE=ARIAL COLOR="#000000">
<A HREF="manual_simple.html"><IMG BORDER="0" SRC="next.gif" ALIGN="RIGHT" ALT="Chapter 2: Uploading Files and Text Items"></A>
<B><U><FONT SIZE="3" COLOR="#990000">Chapter 1. Introduction</FONT></U></B>
<P>
<B><FONT COLOR="#0000A0">What is AspUpload?</FONT></B>
<BLOCKQUOTE>
AspUpload is a COM+ component which enables an ASP application
to capture, save and process files uploaded to the web server with a browser.
The files are selected for uploading via an HTML POST form using the <INPUT TYPE=FILE> tag.
<P>
With AspUpload, you can add file upload functionality to your Web application in as little as 2 lines
of ASP script. In addition to uploading, AspUpload offers a wide range of file management functions,
including secure downloading, saving files in the database, permission and attribute
management, image size extraction, file encryption, etc.
</BLOCKQUOTE>
<B><FONT COLOR="#0000A0">What's New in AspUpload 3.0</FONT></B>
<UL>
<LI>An <B>HTML-based progress bar</B>. You no longer need to rely on ActiveX
controls or Java applets to offer an accurate and detailed progress indicator to your
users.
<LI><B>Support for large files</B>. You can now upload files up to 2 GB in size.
<LI><B>Improved performance</B>. AspUpload 3.0 uses a different approach in processing uploaded files
which consumes much less CPU and memory resources of your Web server.
<LI><B>Unicode support</B>. The new version handles Unicode
characters in text fields and file names.
<LI><B>Registration key system</B>. AspUpload 3.0 now uses registration keys, just
like all other Persits components. Instead of two separate versions (eval and full)
there is a single version of the component downloadable from the Web site.
Applying a registration key to an eval version turns it into the full version.
<LI><B>A single <i>Save</i> method</B>. The old methods Save, SaveToMemory and SaveEncrypted are all combined into
a single method, <B>Save</B>, with multiple optional parameters. The old methods
are still supported for backwards compatibility.
<LI><B>New object properties</B> such as Version, RegKey, TotalBytes, TotalSeconds, File.LastModified, etc.
<LI><B>Full backwards compatibility</B>. No code changes are necessary when integrating
the new version into an existing application.
</UL>
<B><FONT COLOR="#0000A0">Feature Summary</FONT></B>
<UL>
<LI>Compatibility with IIS 4, IIS 5 (Window 2000, XP), and PWS.<BR>
<LI>Ability to upload multiple files at once.<BR>
<LI>Access to text items on the form.<BR>
<LI>HTML-based progress bar.<BR>
<LI>Unicode suppport.<BR>
<LI>Uploads to memory.<BR>
<LI>Secure file downloading.<BR>
<LI>Ability to manipulate the Access Control Lists (ACLs) of uploaded files.<BR>
<LI>Ability to change file attributes.<BR>
<LI>Ability to save files in the database as blobs.<BR>
<LI>Support for MS Access OLE Object headers.<BR>
<LI>Ability to export files from the database.<BR>
<LI>Automatic generation of unique file names to prevent collisions with existing files.<BR>
<LI>Ability to put a limit on the size of files being uploaded.<BR>
<LI>Ability to preserve files' "Last Modified" timestamp.<BR>
<LI>Encryption support.<BR>
<LI>Directory listing with sorting.<BR>
<LI>Automatic ActiveX DLL registration.<BR>
<LI>Ability to disable certain features via registry settings.<BR>
<LI>File copying, moving and deletion.<BR>
<LI>Directory creation and deletion.<BR>
<LI>Full ADO support when handling blobs.<BR>
<LI>MacBinary support.<BR>
<LI>Directory uploads (when used with XUpload or JUpload).<BR>
<LI>Image size and type extraction functionality.<BR>
<LI>One-way hash function computation for uploaded files.<BR>
</UL>
<B><FONT COLOR="#0000A0">System Requirements</FONT></B>
<BLOCKQUOTE>
<B>Windows NT 4.0</B> and <B>IIS 4.0</B>, or<BR>
<B>Windows 2000/XP</B> and <B>IIS 5.x</B>, or<BR>
<B>Windows 95/98</B> and <B>Personal Web Server/ASP</B>.
<P>
<B>IIS 3.0 is no longer supported</B>.
</BLOCKQUOTE>
<B><FONT COLOR="#0000A0">Installation Procedure</FONT></B>
<BLOCKQUOTE>
To install AspUpload, download and run the setup application <B>aspupload.exe</B>.
The aspupload.exe setup will install both the AspUpload component (<B>aspupload.dll</B>)
and all the documentation into a directory on your hard drive that you specify
during installation. Typically, it is <B>c:\Program Files\Persits Software\AspUpload</B>,
but it can be any other directory.
<P>
The install routine will automatically register the component DLL on your machine.
During installation, your IIS-related services will be shut down and restarted.
<P>
If you need to move the AspUpload component to another server,
it is sufficient to copy the file aspupload.dll (located under the <B>\Bin</B>
subdirectory of the installation) to the other machine and register it there
using the <B>regsvr32</B> command-line utility.
You may copy the file aspupload.dll to any folder on the second server's
hard drive, e.g. c:\winnt\system32. To register the dll, run the MS DOS
prompt and type the command
<P>
<font face="Courier New" Color="#000000">c:\><b>regsvr32 c:\winnt\system32\aspupload.dll</b></font>
<P>
You should specify another path if necessary. If this server is already running
an older version of AspUpload, you must remove it from memory prior to
registering a newer version by shutting down all IIS services.
To do that, type the following command at your DOS prompt:
<P>
<font face="Courier New" Color="#000000">c:\><b>net stop iisadmin /y</b></font>
<P>
To bring the WWW service back up, type the command
<P>
<font face="Courier New" Color="#000000">c:\><b>net start w3svc</b></font>
<P>
Other IIS services (such as FTP, SMTP, NNTP, Site Server, etc) can be restarted from the Services control panel.
<P>
The downloadable version of AspUpload will be fully functional for 30 days
after installation and require a registration key afterwards.
Once an AspUpload registration key is purchased, it should be installed
in the system registry on the server (instructions will be sent to you via email along with the key).
<P>
Alternatively, a registration key can be specified in your ASP code via the <B>Upload.RegKey</B>
property.
<P>
When switching from an eval to the full version,
AspUpload does not have to be re-installed, or IIS restarted. To purchase an AspUpload registration key, visit
<A HREF="http://www.aspupload.com/purchase.html">www.aspupload.com/purchase.html</A>.
</BLOCKQUOTE>
<B><FONT COLOR="#0000A0">Installing aspupload.dll under MTS/Component Services</FONT></B>
<BLOCKQUOTE>
AspUpload can be used in Microsoft Transaction Server (Windows NT 4.0) or
Component Services (Windows 2000).
<P>
Under NT 4.0, run Microsoft Management Console (MMC) found in the Option Pack 4
program group. Under Windows 2000, run Component Services found under Control
Panels/Administrative Tools.
<P>
In MMC, open Microsoft Transaction Server and expand the branch
Computers\My Computer\Packages Installed. Create a new package.
In Component Services, expand the branch Computers\My Computer\COM+ Applications.
Create a new application.
<P>
Once a package (application) has been created, use File Explorer to drag the file
<B>aspupload.dll</B> and drop it onto the Components sub-folder of the new package.
</BLOCKQUOTE>
<B><FONT COLOR="#0000A0">About Code Samples</FONT></B>
<BLOCKQUOTE>
All the code samples shipped with AspUpload can be found under the
\Samples directory of the installation
in their respective sub-directories. Each subdirectory
corresponds to a chapter of this manual.
A complete index of code samples can be found in the file \Samples\SAMPLE_INDEX.HTM.
<P>
The <B>AspUpload.exe</B> setup program creates the virtual folder <B>/AspUpload</B>
on top of the \Samples directory so that you can run the sample files
from your browser using URLs such as
<A HREF="http://localhost/AspUpload/02_simple/Form1.asp"><B>http://localhost/AspUpload/02_simple/Form1.asp</B></A>.
If necessary, replace the word "localhost" with the name or address of your server.
<P>
<A HREF="manual_simple.html"><IMG BORDER="0" SRC="next.gif" ALIGN="RIGHT" ALT="Chapter 2: Uploading Files and Text Items"></A>
<P>
</BLOCKQUOTE>
</FONT>
<P>
<TABLE WIDTH=540 HEIGHT=2 CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TD BGcolor="#FFCE00"><spacer type=block width=540 height=2></TD>
</TABLE>
<P>
<CENTER>
<A HREF="index.html"><IMG SRC="logo_small.gif" BORDER=0></A>
<BR>
<FONT Face=arial size=1>
Copyright © 1998 - 2001 <A HREF="http://www.persits.com">Persits Software, Inc.</A><BR>
All Rights Reserved<BR>
AspUpload® is a registered trademark of Persits Software, Inc.<BR>
Questions? Comments? <A HREF="MAILTO:info@aspupload.com">Write us!</A>
</CENTER>
</TD>
</TABLE>
</BASEFONT>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -