JSPSMARTUPLOAD : DOCUMENTATION |
Files
Object Last modified: March 1st, 2000 © 2000 Advantys. All rights reserved. |
The getCount property returns the number of elements in the collection.
Syntax
.getCountReturn Value
Returns a int value which is the number of elements in the collection.Example
<%
out.println("NbFiles=" + myUpLoad.getFiles().Count());
%>
The getFile method access to an item in the collection.
Syntax
.getFile(key)Return Value
Returns a file object of the collection corresponding to the key.Examples
<%
for (int i=0;i<myUpLoad.getFiles().count();i++){
out.println("File=" + myUpLoad.getFiles().getFile(i).getFileName());
}
%>
The getSize property returns the size of the collection.
Syntax
.getSizeReturn Value
Returns a Long value which is the size of the collection.Example
<%
out.println("File's size uploaded : " + myUpLoad.getFiles().getSize());
%>
© 2000 Advantys. All rights reserved.