Forums

ASP

This topic is locked

multiple file upload with flash upload control

Posted 23 Oct 2006 15:00:40
1
has voted
23 Oct 2006 15:00:40 Marc M posted:
Hello,

I tried to make a 'multiple file upload with pure asp flash upload control'
like described in page 71 of the manual.

The page was uploaded and also the swf-file and the script library.
Although I only see a white page in Explorer: no buttons at all.

It can not be so difficult ....

Regards,
Marc

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="../ScriptLibrary/incPU3Class.asp" -->
<!--#include file="../ScriptLibrary/incPU3Utils.asp" -->
<%
//*** Pure ASP File Upload 3.0.4
// Process form upload1
var pau = CreatePureUpload(), DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight;
pau.ScriptLibrary = "../ScriptLibrary";
pau.ConflictHandling = "over";
pau.StoreType = "file";
pau.UploadFolder = "\"up\"";
pau.ProcessUpload();
pau.SaveAll();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript"><%=pau.generateScriptCode()%></script>
<script src="../ScriptLibrary/incPU3.js" type="text/javascript"></script>
</head>

<body>
<form name="FlashUpload" method="post">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','250','height','150','id','upload1','align','middle','src','dmxPureUpload','quality','best','flashvars','<%=pau.FlashVars()%>','scale','noscale','wmode','transparent','pluginspage','www.macromedia.com/go/getflashplayer','movie','dmxPureUpload' ); //end AC code
</script>
<noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="150" id="upload1" align="middle">
<param name="FlashVars" value="<%=pau.FlashVars()%>" />
<param name="movie" value="dmxPureUpload.swf" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="wmode" value="transparent" />
<embed src="dmxPureUpload.swf" id="upload1" quality="best" flashvars="<%=pau.FlashVars()%>" scale="noscale" wmode="transparent" type="application/x-shockwave-flash" width="250" height="150" pluginspage="www.macromedia.com/go/getflashplayer" />
</object></noscript>
<input type="hidden" name="Filedata" />
</form>
</body>

Replies

Replied 23 Oct 2006 15:15:31
23 Oct 2006 15:15:31 Marc M replied:
Solved.
In DW8 I have to upload the folder 'Scripts', which doesn't exist in DW MX !

Reply to this topic