Advanced Multi Uploader Support Product Page

Can any ASP user confirm this Extension works

Asked 27 May 2008 16:20:55
1
has this question
27 May 2008 16:20:55 Kenny Darcy posted:
Hi yea,
I have had no joy in getting this extension to work, and not got a reply from support.

Can any ASP user confirm they got this extension to work please.

regards

Kenny

Replies

Replied 28 May 2008 14:18:46
28 May 2008 14:18:46 Miroslav Zografski replied:
Hi Kenny,

I personally did tested the product on ASP and ASP.NET so i can assure you that it is working.
If you what you can give here some detail description of your problem.

Regards.

DMXZone.com Support Team
Replied 28 May 2008 14:43:49
28 May 2008 14:43:49 Kenny Darcy replied:
Hi yea,
Thanks for the reply, I have spent too much time on this since purchase and now dont have the time to report all the issues I have come accross. I will let other asp users find out for themselves and waste there time on it.

Any way

cheers

k
Replied 29 May 2008 05:12:03
29 May 2008 05:12:03 John Bendall replied:
Loaded and installed the extension, worked properly 5 minutes later on ASP with Smart Image processor and Pure ASP Upload
Replied 29 May 2008 07:10:29
29 May 2008 07:10:29 Cain Goettelman replied:
Working PErfectly here.
I did have to install the latest update to Flash Player on both my laptop and workstation to get it to display properly. Other than that this was easy for a newbie like myself.
Replied 29 May 2008 10:12:53
29 May 2008 10:12:53 Kenny Darcy replied:
I have been using pu, sip etc over the last few years without issue, it is only now having loaded the multi upload I have issues, I will be downloading there newest updates, perhaps they have fixed something to make it work.

k
Replied 04 Jun 2008 08:14:47
04 Jun 2008 08:14:47 David Faria replied:
I can tell you that database insert does NOT work with PHP and I assume the same for ASP..
Replied 04 Jun 2008 08:19:51
04 Jun 2008 08:19:51 John Bendall replied:
Can not comment on the DB insert, do not have the need for it .... will see if I can test over the next few days
Replied 04 Jun 2008 14:02:19
04 Jun 2008 14:02:19 Miroslav Zografski replied:
Hi David,

In past few days I've been testing AMU for database compatibility. The Insert Record SB is working with no complains at all at Win XP SP2 , DW9 and DW8, Apache V.2.2.8 server, PHP V.5.2.6 and MySQL V.5.0.51b; IIS V.5.1., APS.NET V.2.0.50727 with same db.

Also tested on VISTA and OSX10.5.2 .

Regards.

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 06 Jun 2008 20:07:13
06 Jun 2008 20:07:13 sanjay shah replied:
Hi,

I can get the upload working but not the insert into the db, here is my code:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="ScriptLibrary/incPU3Class.asp" -->
<!--#include file="ScriptLibrary/incPU3Utils.asp" -->
<!--#include file="Connections/assetreg.asp" -->
<
%'*** Pure ASP File Upload 3.0.10
' Process form upload1
Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight
Set pau = new PureUpload
pau.ScriptLibrary = "ScriptLibrary"
pau.ConflictHandling = "over"
pau.StoreType = "file"
pau.UploadFolder = """upload"""
pau.ProcessUpload
pau.SaveAll
%>
<
%Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (UploadQueryString <> "") Then
  MM_editAction = MM_editAction & "?" & Server.HTMLEncode(UploadQueryString)
End If

' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<
%If (CStr(UploadFormRequest("MM_insert")) = "UploadQueue") Then
  If (Not MM_abortEdit) Then
    ' execute the insert
    Dim MM_editCmd

    Set MM_editCmd = Server.CreateObject ("ADODB.Command")
    MM_editCmd.ActiveConnection = MM_assetreg_STRING
    MM_editCmd.CommandText = "INSERT INTO upload_tbl (filename) VALUES (?)" 
    MM_editCmd.Prepared = true
    MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, UploadFormRequest("Filedata")) ' adVarWChar
    MM_editCmd.Execute
    MM_editCmd.ActiveConnection.Close

    ' append the query string to the redirect URL
    Dim MM_editRedirectUrl
    MM_editRedirectUrl = "admin.asp"
    If (UploadQueryString <> "") Then
      If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
        MM_editRedirectUrl = MM_editRedirectUrl & "?" & UploadQueryString
      Else
        MM_editRedirectUrl = MM_editRedirectUrl & "&" & UploadQueryString
      End If
    End If
    Response.Redirect(MM_editRedirectUrl)
  End If
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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 ACTION="<%=MM_editAction%>" name="UploadQueue" method="POST">
  <p>
    <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0','width','550','height','350','id','upload1','align','middle','src','dmxMultiUploader','quality','best','flashvars','<%=pau.flashvars()%>','wmode','transparent','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','dmxMultiUploader' ); //end AC code
</script>
<noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0" width="550" height="350" id="upload1" align="middle">
      <param name="FlashVars" value="<%=pau.flashvars()%>" />
      <param name="movie" value="dmxMultiUploader.swf" />
      <param name="quality" value="best" />
      <param name="wmode" value="transparent" />
      <embed src="dmxMultiUploader.swf" id="upload1" quality="best" flashvars="<%=pau.flashvars()%>" wmode="transparent" type="application/x-shockwave-flash" width="550" height="350" pluginspage="http://www.macromedia.com/go/getflashplayer" />      
</object></noscript>
    <input type="hidden" name="Filedata" />
  </p>
  <p>&nbsp;</p>  
<input type="hidden" name="MM_insert" value="UploadQueue" />
</form>
</body>
</html>
 


Regards,

Sanj
Replied 07 Jun 2008 16:47:53
07 Jun 2008 16:47:53 David Faria replied:
I tried again on my dedicated server running PHP5 (other server I tested was php4) just to be sure it wasn't a php 4 vs 5 issue. Still doesn't
work..

Miroslav,
I really can't believe that you're doing this with the default AMU and PHP Upload tools.. You must have something else going on.. I have confirmed with
multiple users that insert to db is NOT working with this extension. I think if you'll take some time to address this problem you'll see that there really is something wrong and that the rest of us are not crazy.

David

Edited by - mrpresley on 07 Jun 2008 16:50:36
Replied 07 Jun 2008 16:56:39
07 Jun 2008 16:56:39 sanjay shah replied:
looking at the sb, it says if you do not use a insert/update sb you place the redirect on multiupload sb,
so I added the insert as my previous post but the page does not redirect ?

Regards,

Sanj
Replied 09 Jun 2008 17:22:24
09 Jun 2008 17:22:24 Aidan Aidan replied:
This is getting silly now, it's obvious from the posts on this forum that this extension is not working properly in either ASP or PHP. I have tested and tweaked it for days and still all it does is upload the files to the server but fails to populate the database.

Can you guys at least admit that there is a problem with the extension and try and get is solved?
Replied 10 Jun 2008 11:33:05
10 Jun 2008 11:33:05 Miroslav Zografski replied:
Hi All,

Some Update on this issue:
AMU must work fine with import record sb, but it have no options to work with update record sb so far. Please excuse us for any inconvenience and accept our apologizes for any misleads.

As for the opinions of us using anything but default extensions - it's far from our thoughts at all.

We'll soon post a link to a working page using AMU, Pure Upload and Insert Record SB.

Regards

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 10 Jun 2008 12:07:49
10 Jun 2008 12:07:49 Kenny Darcy replied:
Thanks for been upfront about this.

k
Replied 10 Jun 2008 16:18:10
10 Jun 2008 16:18:10 Miroslav Zografski replied:
Hi all,

Another Update on this issue
see this code :<pre id=code><font face=courier size=2 id=code>
&lt;form ACTION="&lt;%=MM_editAction%&gt;" name="UploadQueue" method="POST"&gt;
&lt;p&gt;
&lt;script type="text/javascript"&gt;
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0','width','550','height','350','id','upload1','align','middle','src','dmxMultiUploader','quality','best','flashvars','&lt;%=pau.flashvars()%&gt;','wmode','transparent','pluginspage','www.macromedia.com/go/getflashplayer','movie','dmxMultiUploader' ); //end AC code
&lt;/script&gt;
&lt;noscript&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0" width="550" height="350" id="upload1" align="middle"&gt;
&lt;param name="FlashVars" value="&lt;%=pau.flashvars()%&gt;" /&gt;
&lt;param name="movie" value="dmxMultiUploader.swf" /&gt;
&lt;param name="quality" value="best" /&gt;
&lt;param name="wmode" value="transparent" /&gt;
&lt;embed src="dmxMultiUploader.swf" id="upload1" quality="best" flashvars="&lt;%=pau.flashvars()%&gt;" wmode="transparent" type="application/x-shockwave-flash" width="550" height="350" pluginspage="www.macromedia.com/go/getflashplayer" /&gt;
&lt;/object&gt;&lt;/noscript&gt;
&lt;input type="hidden" name="Filedata" /&gt;
&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;input type="hidden" name="MM_insert" value="UploadQueue" /&gt;
&lt;/form&gt;
</font id=code></pre id=code>

it is quoted from above... make coparisson with folowing one:
<pre id=code><font face=courier size=2 id=code>
&lt;form ACTION="&lt;%=MM_editAction%&gt;" name=<b>"UploadQueue"</b> id=<b>"UploadQueue"</b> method="POST"&gt;
&lt;script type="text/javascript"&gt;
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0','name','upload1','width','550','height','350','align','middle','id','upload1','src','dmxMultiUploader','quality','best','flashvars','&lt;%=pau.flashvars()%&gt;&<b>formName=UploadQueue'</b>,'wmode','transparent','pluginspage','www.macromedia.com/go/getflashplayer','movie','dmxMultiUploader' ); //end AC code
&lt;/script&gt;&lt;noscript&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0" name="upload1" width="550" height="350" align="middle" id="upload1"&gt;
&lt;param name="FlashVars" value="&lt;%=pau.flashvars()%&gt;&<b>formName=UploadQueue"</b> /&gt;
&lt;param name="movie" value="dmxMultiUploader.swf" /&gt;
&lt;param name="quality" value="best" /&gt;
&lt;param name="wmode" value="transparent" /&gt;
&lt;embed src="dmxMultiUploader.swf" name="upload1" quality="best" flashvars="&lt;%=pau.flashvars()%&gt;&<b>formName=UploadQueue"</b> wmode="transparent" type="application/x-shockwave-flash" width="550" height="350" pluginspage="www.macromedia.com/go/getflashplayer" /&gt;
&lt;/object&gt;&lt;/noscript&gt;
&lt;input type="hidden" name="Filedata" /&gt;
&lt;script type="text/javascript"&gt;window.upload1 = document.forms[<b>"UploadQueue"</b>].upload1;&lt;/script&gt;
&lt;input type="hidden" name="MM_insert" <b>value="UploadQueue"</b> /&gt;
&lt;/form&gt;
</font id=code></pre id=code>

As you can see the formName parameter lacks in first one and that is the reason Insert record does not work with V.1.0, but since V.1.0.1 it is added -&gt; second code is generated from V.1.0.1. Also there is a java script witch passes the name of each file in the form so it can be inserted in record.
Also if the name of form is changed in one place only insert record will not work as well.
Please check your code for the stuff mentioned above and be sure you have the newest version of AMU. Also If you have the last vesion of AMU, but it still not working, please open the Pure Upload Server Behavior inspection panel and change something in it and apply, then check the code is it updated or not.

I'm expecting your feedback.

Expect a FAQ soon on our website.

Regards

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 12 Jun 2008 02:48:04
12 Jun 2008 02:48:04 David Faria replied:
Yes, it is working for me now. (my AMU extension wasn't updated to 1.01) so you can add me now to the list of successful users. Now
Now if I can just find a way to be able to add additional fields to form for insert. But YES, it does work!

Thanks,

David
Replied 12 Jun 2008 10:16:43
12 Jun 2008 10:16:43 Miroslav Zografski replied:
Hi David,

Question of that matter is bothering me as well and I'll test it so we can provide final solution.

Regards.

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 13 Jun 2008 01:48:36
13 Jun 2008 01:48:36 sanjay shah replied:
Apolgies but I still cannot get tis working - I have the latest version of both extenions and here is my code:

<pre id=code><font face=courier size=2 id=code> &lt;%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%&gt;
&lt;!--#include file="Connections/assetreg.asp" --&gt;
&lt;!--#include file="ScriptLibrary/incPU3Class.asp" --&gt;
&lt;!--#include file="ScriptLibrary/incPU3Utils.asp" --&gt;
&lt;%
'*** Pure ASP File Upload 3.0.10
' Process form upload1
Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight
Set pau = new PureUpload
pau.ScriptLibrary = "ScriptLibrary"
pau.ConflictHandling = "over"
pau.StoreType = "file"
pau.UploadFolder = """upload"""
pau.ProcessUpload
pau.SaveAll
%&gt;
&lt;%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")
If (UploadQueryString &lt;&gt; "" Then
MM_editAction = MM_editAction & "?" & Server.HTMLEncode(UploadQueryString)
End If

' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%&gt;
&lt;%
If (CStr(UploadFormRequest("MM_insert") = "UploadQueue" Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd

Set MM_editCmd = Server.CreateObject ("ADODB.Command"
MM_editCmd.ActiveConnection = MM_assetreg_STRING
MM_editCmd.CommandText = "INSERT INTO upload_tbl (filename) VALUES (?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 202, 1, 255, UploadFormRequest("Filedata") ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close

' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "login.asp"
If (UploadQueryString &lt;&gt; "" Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" & UploadQueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" & UploadQueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Untitled Document&lt;/title&gt;
&lt;script src="Scripts/AC_RunActiveContent.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;&lt;%=pau.generateScriptCode()%&gt;&lt;/script&gt;
&lt;script src="ScriptLibrary/incPU3.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;form ACTION="&lt;%=MM_editAction%&gt;" method="post" name="UploadQueue" id="UploadQueue"&gt;
&lt;script type="text/javascript"&gt;
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0','width','550','height','350','id','upload1','align','middle','src','dmxMultiUploader','name','upload1','quality','best','flashvars','&lt;%=pau.flashvars()%&gt;&formName=UploadQueue','wmode','transparent','pluginspage','www.macromedia.com/go/getflashplayer','movie','dmxMultiUploader' ); //end AC code
&lt;/script&gt;&lt;noscript&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,63,0" width="550" height="350" id="upload1" align="middle"&gt;
&lt;param name="FlashVars" value="&lt;%=pau.flashvars()%&gt;&formName=UploadQueue" /&gt;
&lt;param name="movie" value="dmxMultiUploader.swf" /&gt;
&lt;param name="quality" value="best" /&gt;
&lt;param name="wmode" value="transparent" /&gt;
&lt;embed src="dmxMultiUploader.swf" name="upload1" quality="best" flashvars="&lt;%=pau.flashvars()%&gt;&formName=UploadQueue" wmode="transparent" type="application/x-shockwave-flash" width="550" height="350" pluginspage="www.macromedia.com/go/getflashplayer" /&gt;
&lt;/object&gt;&lt;/noscript&gt;
&lt;input type="hidden" name="Filedata" /&gt;
&lt;script type="text/javascript"&gt;window.upload1 = document.forms["UploadQueue"].upload1;&lt;/script&gt;
&lt;input type="hidden" name="MM_insert" value="UploadQueue" /&gt;
&lt;/form&gt;
post
&lt;/body&gt;
&lt;/html&gt;</font id=code></pre id=code>
Replied 24 Jun 2008 16:25:40
24 Jun 2008 16:25:40 Aidan Aidan replied:
I gave up trying to get the PHP one working so gave ASP a go and just like the PHP version the ASP one uploads the images no problem but does not populate the database.

Miroslav you said above that you would be posting a link to a working version soon, any update on that?

Thanks

Aidan
Replied 25 Jun 2008 12:18:44
25 Jun 2008 12:18:44 Miroslav Zografski replied:
Hi Sanjay,

Did you checked your DB permitions? Is it issues an error when youre uploading?

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 25 Jun 2008 12:40:18
25 Jun 2008 12:40:18 Miroslav Zografski replied:
Hi Sanjay,

here is my ASP code

<pre id=code><font face=courier size=2 id=code>
&lt;%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%&gt;
&lt;!--#include file="Connections/test1.asp" --&gt;
&lt;!--#include file="ScriptLibrary/incPU3Class.asp" --&gt;
&lt;!--#include file="ScriptLibrary/incPU3Utils.asp" --&gt;
&lt;%
'*** Pure ASP File Upload 3.0.10
' Process form upload1
Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight
Set pau = new PureUpload
pau.ScriptLibrary = "ScriptLibrary"
pau.ConflictHandling = "over"
pau.StoreType = "file"
pau.UploadFolder = """upload"""
pau.ProcessUpload
pau.SaveAll
%&gt;
&lt;%
Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME")
If (UploadQueryString &lt;&gt; "" Then
MM_editAction = MM_editAction & "?" & Server.HTMLEncode(UploadQueryString)
End If

' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%&gt;
&lt;%
If (CStr(UploadFormRequest("MM_insert") = "UploadQueue" Then
If (Not MM_abortEdit) Then
' execute the insert
Dim MM_editCmd

Set MM_editCmd = Server.CreateObject ("ADODB.Command"
MM_editCmd.ActiveConnection = MM_test1_STRING
MM_editCmd.CommandText = "INSERT INTO testdb.uploads (filename) VALUES (?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append MM_editCmd.CreateParameter("param1", 201, 1, 65535, UploadFormRequest("Filedata") ' adLongVarChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close

' append the query string to the redirect URL
Dim MM_editRedirectUrl
MM_editRedirectUrl = "vilasindex.asp"
If (UploadQueryString &lt;&gt; "" Then
If (InStr(1, MM_editRedirectUrl, "?", vbTextCompare) = 0) Then
MM_editRedirectUrl = MM_editRedirectUrl & "?" & UploadQueryString
Else
MM_editRedirectUrl = MM_editRedirectUrl & "&" & UploadQueryString
End If
End If
Response.Redirect(MM_editRedirectUrl)
End If
End If
%&gt;
</font id=code></pre id=code>

well... redirect may not work because of cycle that it performs... but it inserts data in database. For Head and Body of the doc I've used your code.

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 29 Jun 2008 01:02:26
29 Jun 2008 01:02:26 sanjay shah replied:
Thanks Miroslav, but I can still not get this working.
Replied 30 Jun 2008 09:48:26
30 Jun 2008 09:48:26 Miroslav Zografski replied:
Hi Sanjay,

Well, can you tell me what error it prompts? And if you can mace one test page so I can see it online?

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 01 Jul 2008 01:18:40
01 Jul 2008 01:18:40 sanjay shah replied:
Miroslav,

Could I send you the full asp page via email?

Thanks,

Sanjay
Replied 01 Jul 2008 09:49:41
01 Jul 2008 09:49:41 Miroslav Zografski replied:
Hi Sanjay,

Sure you can. Use the mail in my profile.

Regards,

M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------

Reply to this topic