I am uploading files to the server throught upload files.in first page user select folder name from the drop down list where he wants to put his files.
this is folder.asp page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ Language="VBScript" %>
<html>
<head>
<!-- TemplateBeginEditable name="doctitle" -->
<title>Documents</title>
<!-- TemplateEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
'*****************************************************
<script language="JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<script language="javascript">
function jvalidate()
{
if (document.all("query").value == "")
{
alert("Please enter a valid search query.");
document.all("query").focus();
return false;
}
return true;
}
</script>
'*****************************************************
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_setTextOfLayer(objName,x,newText) { //v4.01
if ((obj=MM_findObj(objName))!=null) with (obj)
if (document.layers) {document.write(unescape(newText)); document.close();}
else innerHTML = unescape(newText);
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_initTimelines() { //v4.0
//MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved.
var ns = navigator.appName == "Netscape";
var ns4 = (ns && parseInt(navigator.appVersion) == 4);
var ns5 = (ns && parseInt(navigator.appVersion) > 4);
document.MM_Time = new Array(1);
document.MM_Time[0] = new Array(1);
document.MM_Time["Timeline1"] = document.MM_Time[0];
document.MM_Time[0].MM_Name = "Timeline1";
document.MM_Time[0].fps = 6;
document.MM_Time[0][0] = new String("behavior");
document.MM_Time[0][0].frame = 30;
document.MM_Time[0][0].value = "MM_setTextOfLayer('submanu','','');MM_setTextOfLayer('submanu','','');MM_setTextOfLayer('submanu',' ','');MM_setTextOfLayer('submanu','','')";
document.MM_Time[0].lastFrame = 30;
for (i=0; i<document.MM_Time.length; i++) {
document.MM_Time.ID = null;
document.MM_Time.curFrame = 0;
document.MM_Time.delay = 1000/document.MM_Time.fps;
}
}
//-->
</script>
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
</head>
<body bgcolor="#FFFFFF" text="#333333" link="#0000FF" vlink="#0000FF" alink="#CC9900" onLoad="MM_preloadImages('images/Homecolum.png','images/RegCol.png','images/UploadCol.png','images/l oginCol.png','DifferentTemplate/Images/Home1.png','DifferentTemplate/Images/Services1.png','Differen tTemplate/Images/Upload%20Files1.png','DifferentTemplate/Images/About%20Us1.png','images/search1.png ')" tracingsrc="images/wn1.jpg" tracingopacity="45">
<div id="Layer1" style="position:absolute; width:977px; height:152px; z-index:1; left: 4px; top: 6px;">
<!-- TemplateBeginEditable name="editableregion1" -->
<div id="Layer3" style="position:absolute; width:550px; height:5299px; z-index:1; left: 218px; top: 193px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; overflow: visible; visibility: visible;">
<table width="106%">
<tr>
<td height="133">
<form name="myForm" action="db-multiple-file-to-diskfolder.asp" method="post">
&nbs p; <p>
&nbs p; <select name="foldername" >
<option value="notable">Choose your manual:</option>
<option value="ListFiles">General Manual</option>
<option value="phone">Phone</option>
<option value="pics">pics</option>
</select>
&nbs p; </p>
&nbs p; <p>
&nbs p; <input name="Ok" type="submit" value="View Manual">
&nbs p; </p>
&nbs p; </form></td>
&n