dcsimg
Urgent help please (on jsp smart upload)
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ketan_j
Posted On:   Saturday, May 18, 2002 06:12 AM

Hi, I downloaded jspsmartupload and installed on the server.............. How can i download multiple files at a time from server ............... Here is the code i wrote but this code is downoloding only one file .......... <%@ page language="java" import="com.jspsmart.upload.*"%> <% //Initialization mySmartUpload.initialize(pageContext); // With options String files[]={"_ad_links.jsp","index.jsp","partner.jsp"}; for(int i=0;i { mySmartUpload.downloadFile("/usr/local/tomcat/webapps/d   More>>

Hi,

I downloaded jspsmartupload and installed on the server..............


How can i download multiple files at a time from server ...............


Here is the code i wrote but this code is downoloding only one file ..........



<%@ page language="java" import="com.jspsmart.upload.*"%>



<%


//Initialization


mySmartUpload.initialize(pageContext);



// With options



String files[]={"_ad_links.jsp","index.jsp","partner.jsp"};


for(int i=0;i


{


mySmartUpload.downloadFile("/usr/local/tomcat/webapps/development/"+files[i],files[i]);


}



%>




The files i specied in the array are available on the server ..........


Now i want to download all the files i specified in the array.........


In this case it is asking save as option and i don't want that option i.e


I have to download the files with out asking save as option.........


Suppose in the html form user selected 3 files and clicked on download button,


How to download these files to my local machine with out asking save as option ........



Please help me ............



Thanks.


.

   <<Less
About | Sitemap | Contact