⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 object_upload.html

📁 aspupload
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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 - UploadManager Object</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.gif"> <A HREF="manual.html">User Manual</A><p>
	<IMG SRC="sq.gif"><IMG SRC="square_pressed.gif"> <A HREF="objectreference.html">Object Reference</A>
	<BR>
	<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small_pressed.gif"> UploadManager<BR>
	<IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="sq.gif"><IMG SRC="square_small.gif"> <A HREF="object_file.html">UploadedFile</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="object_formitem.html">FormItem</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="object_diritem.html">DirItem</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="object_progress.html">ProgressManager</A><BR>
	<P>

	<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="objectreference.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="object_file.html"><IMG BORDER="0" SRC="next.gif" ALIGN="RIGHT" ALT="UploadedFile Object"></A>
	<B><U><FONT SIZE="3" COLOR="#990000">UploadManager Object</FONT></U></B>
	<P>

	<BLOCKQUOTE>

	<!-- object propeties and methods table-->
	<TABLE WIDTH="400" CELLSPACING="0" CELLPADDING="2" BORDER="1">
	<TR><TH BGCOLOR="#E0E0E0"><FONT FACE="Arial" SIZE=2><A HREF="#Properties">Properties</A></FONT></TH>
		<TH BGCOLOR="#E0E0E0"><FONT FACE="Arial" SIZE=2><A HREF="#Methods">Methods</A></FONT></TH></TR>
	<TR>
	<TD VALIGN="TOP"><FONT FACE="Arial" SIZE=2>
	<B>
	<A HREF="#CodePage">CodePage</A><BR>
	<A HREF="#DetectMacBinary">DetectMacBinary</A><BR>
	<A HREF="#Directory">Directory</A><BR>
	<A HREF="#Expires">Expires</A><BR>
	<A HREF="#Files">Files</A><BR>
	<A HREF="#Form">Form</A><BR>
	<A HREF="#IgnoreNoPost">IgnoreNoPost</A><BR>
	<A HREF="#OverwriteFiles">OverwriteFiles</A><BR>
	<A HREF="#PreserveFileTime">PreserveFileTime</A><BR>
	<A HREF="#ProgressID">ProgressID</A><BR>
	<A HREF="#RegKey">RegKey</A><BR>
	<A HREF="#TotalBytes">TotalBytes</A><BR>
	<A HREF="#TotalSeconds">TotalSeconds</A><BR>
	<A HREF="#Version">Version</A><BR>
	</B>
	</FONT></TD>

	<TD VALIGN="TOP"><FONT FACE="Arial" SIZE=2>
	<B>
	<A HREF="#CopyFile">CopyFile</A><BR>
	<A HREF="#CreateDirectory">CreateDirectory</A><BR>
	<A HREF="#CreateFile">CreateFile</A><BR>
	<A HREF="#DecryptAndSendBinary">DecryptAndSendBinary</A><BR>
	<A HREF="#DeleteFile">DeleteFile</A><BR>
	<A HREF="#FileExists">FileExists</A><BR>
	<A HREF="#FromDatabase">FromDatabase</A><BR>
	<A HREF="#FromRecordset">FromRecordset</A><BR>
	<A HREF="#LogonUser">LogonUser</A><BR>
	<A HREF="#MoveFile">MoveFile</A><BR>
	<A HREF="#OpenFile">OpenFile</A><BR>
	<A HREF="#RegisterServer">RegisterServer</A><BR>
	<A HREF="#RemoveDirectory">RemoveDirectory</A><BR>
	<A HREF="#RevertToSelf">RevertToSelf</A><BR>
	<A HREF="#Save">Save</A><BR>
	<A HREF="#SaveEncrypted">SaveEncrypted</A><BR>
	<A HREF="#SaveToMemory">SaveToMemory</A><BR>
	<A HREF="#SaveVirtual">SaveVirtual</A><BR>
	<A HREF="#SaveVirtualEncrypted">SaveVirtualEncrypted</A><BR>
	<A HREF="#SendBinary">SendBinary</A><BR>
	<A HREF="#SetMaxSize">SetMaxSize</A><BR>
	<A HREF="#ToDatabaseEx">ToDatabaseEx</A><BR>
	</B>
	</FONT></TD>
	</TR>
	</TABLE>
	
	<A NAME="Properties">

	</BLOCKQUOTE>
	<B><FONT COLOR="#0000A0">UploadManager Properties</FONT></B>
	<BLOCKQUOTE>


	<A NAME="CodePage">
	<FONT COLOR="#0080A0"><B>CodePage</B></FONT> As Long (Read/Write)
	<BLOCKQUOTE>
	Enables translation of characters in POSTed text items and file names
	from the specified code page to Unicode. If the data
	is posted in the UTF-8 format, set this property to 65001. Other valid
	values include, but are not limited to, 
	1251 (Cyrillic), 1255 (Hebrew), 1256 (Arabic), etc.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	Upload.CodePage = 65001
	</FONT><P>
	<B>Relevant Chapters:</B> <A HREF="manual_unicode.html">8</A>
	</BLOCKQUOTE>

	<A NAME="DetectMacBinary">
	<FONT COLOR="#0080A0"><B>DetectMacBinary</B></FONT> As Boolean (Read/Write)
	<BLOCKQUOTE>
	True by default. Controls
	whether to detect if the uploaded files are in the MacBinary format 
	and if so extract the "data fork" from them. If set to False,
	files will be uploaded "as-is".
	<P>
	Not implemented in AspUpload 3.0 Beta 1.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	Upload.DetectMacBinary = False
	</FONT><P>
	<B>Relevant Chapters:</B> N/A
	</BLOCKQUOTE>

	<A NAME="Directory">
	<FONT COLOR="#0080A0"><B>Directory</B></FONT> (<I>Path</i> As String, Optional <I>SortBy</i>, Optional <I>Ascending</i>) As Object (Read-Only)
	<BLOCKQUOTE>
	Returns a collection of <A HREF="object_diritem.html">DirItem</A> objects representing
	all files and subdirectories in a directory specified by <I>Path</i>.
	In this collection, subdirectories always precede files.
	<P>
	<I>Path</i> may contain wildcard characters * and ?. 
	<P>
	<I>SortBy</i> can be one of the following values: 
	SORTBY_NAME (1, default). SORTBY_TYPE (2), SORTBY_SIZE (3), SORTBY_CREATIONTIME (4), 
	SORTBY_LASTWRITETIME (5), and SORTBY_LASTACCESSTIME (6).
	<P>
	<I>Ascending</i> is True by default.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	&lt;!--METADATA TYPE="TypeLib" UUID="{B4E1B2DE-151B-11D2-926A-006008123235}"--><BR>
	Set Dir = Upload.Directory("c:\path\*.*", SORTBY_SIZE)<BR>
	For Each Item in Dir<BR>
	...<BR>
	Next<BR>
	</FONT><P>
	<B>Relevant Chapters:</B> <A HREF="manual_misc.html">9</A>
	</BLOCKQUOTE>	

	<A NAME="Expires">
	<FONT COLOR="#0080A0"><B>Expires</B></FONT> As Date (Read-Only)
	<BLOCKQUOTE>
	Returns 9/9/9999 if a valid registration key is installed 
	in the registry or
	specified via the <B><A HREF="#RegKey">RegKey</A></B> property.
	Otherwise returns the date/time when the component expires.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	Response.Write Upload.Expires
	</FONT><P>
	<B>Relevant Chapters:</B> <A HREF="manual_intro.html">1</A>
	</BLOCKQUOTE>

	<A NAME="Files">
	<FONT COLOR="#0080A0"><B>Files</B></FONT> As Object (Read-Only)
	<BLOCKQUOTE>
	Returns a collection of <A HREF="object_file.html">UploadedFile</A> objects 
	representing the uploaded files.
	Before this collection can be used, you must call the methods Save or SaveVirtual.
	<P>
	To reference an individual file object from the collection you may use
	a 1-based integer index, or a string corresponding to the NAME attribute of an &lt;INPUT TYPE="FILE">
	item of your upload form.
	<P>
	To enumerate items in the collection, you may use the For/Each statement.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	Set File = Upload.Files(1)
	<P>
	Set File = Upload.Files("FILE1")
	<P>
	For Each File in Upload.Files<BR>
	...<BR>
	Next<BR>
	</FONT><P>
	<B>Relevant Chapters:</B> <A HREF="manual_simple.html">2</A>
	</BLOCKQUOTE>

	<A NAME="Form">
	<FONT COLOR="#0080A0"><B>Form</B></FONT> As Object (Read-Only)
	<BLOCKQUOTE>
	Returns a collection of <A HREF="object_formitem.html">FormItem</A> objects 
	representing the non-file form items.
	Before this collection can be used, you must call the methods Save or SaveVirtual.
	<P>
	To reference an individual form item of the collection you may use
	a 1-based integer index, or a string corresponding to the NAME attribute of a
	text item of your upload form.
	<P>
	To enumerate items in the collection, you may use the For/Each statement.
	<P>
	<B>Usage:</B><FONT FACE="Courier New"><P>
	Name = Upload.Form(1)
	<P>
	Name = Upload.Form("Name")
	<P>
	For Each Item in Upload.Form<BR>
	&nbsp;&nbsp;&nbsp;Response.Write Item.Value<BR>
	Next<BR>
	</FONT><P>
	<B>Relevant Chapters:</B> <A HREF="manual_simple.html">2</A>
	</BLOCKQUOTE>


	<A NAME="IgnoreNoPost">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -