ASPSMARTUPLOAD : DOCUMENTATION |
Files
Object Last modified: August 1st, 1999 © 2002 Advantys. All rights reserved. |
The Count property returns the number of elements in the collection.
Syntax
.CountReturn Value
Returns an Long value which is the number of elements in the collection.Example
<%
Response.Write("NbFiles=" & MyUpLoad.Files.Count)
%>
The TotalBytes property returns the number of bytes in the collection.
Syntax
.TotalBytesReturn Value
Returns an Long value which is the number of elements in the collection.Example
<%
response.Write("File's size uploaded : " & MyUpLoad.Files.TotalBytes )
%>
The Item method access to a item in a collection. This is the default method of the collection object.
Syntax
.Item(key)Return Value
Returns a file object of the collection corresponding to the key.Examples
<%
For intI=1 to MyUpLoad.Files.count
Response.Write("ItemID=" & MyUpLoad.Files.Item(intI).Name)
Next
For intI=1 to MyUpLoad.Files.count
Response.Write("ItemID=" & MyUpLoad.Files(intI).Name)
Next
Response.Write("ItemID=" & MyUpLoad.Files("myFILE").Name)
%>
© 2002 Advantys. All rights reserved.