It looks like you're new here. If you want to get involved, click one of these buttons!
<head runat="server">
<title>Untitled Page</title>
<link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="uploadify/swfobject.js"></script>
<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#file_upload').uploadify({
'uploader' : 'uploadify/uploadify.swf',
'script' : 'uploadify/uploadify.php',
'cancelImg' : 'uploadify/cancel.png',
'folder' : 'D:/IDataRawFiles/upload_temp',
'auto' : true
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input id="file_upload" name="file_upload" type="file" />
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" ></asp:Button>
</div>
</form>
</body>
</html>
protected void btnUpload_Click(object sender, EventArgs e)
{
for (int i = 0; i < Request.Files.Count; i++)
{
HttpPostedFile file = Request.Files[i];
file.SaveAs(@"D:\IDataRawFiles\upload_temp\" + file.FileName);
}
}