Hi i want to have the Folder Name dynamic like this:
DIM Foldername Foldername = Request.QueryString("BLA")
and later: dwzUpload.Path = "/iCIB3/HTMLimgUPL/"+Foldername+"|_|1"
but this is not working. The "sending" of the MultiUpload Form is destroying the Request.QueryString so that this is empty value.
here the code of the site:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% ' Connection-String Dim MM_DB_AKi203_STRING MM_DB_AKi203_STRING = "Provider=SQLNCLI;Server=WSAH2\hyta02;Database=DB_i203;Trusted_Connection=yes;"
%> <!--#include file="../dwzMultipleUpload/ASPUpload.asp" -->
<% DIM Foldername Foldername = Request.QueryString("BLA") %>
<% '**************************** ' http://www.DwZone-it.com ' MultipleFileUpload HTML 5 ' Version 1.2.21 '**************************** Set dwzUpload = New dwzASPUpload dwzUpload.UploadType = "HTML5" dwzUpload.Instance = "1" dwzUpload.ExtraInfo = "Bootstrap,Default|_|5400|_|true,80,80|_|700,280|_|true|_|form1@__@MMSENGN1@__@text|_|utf-8" dwzUpload.RedirectUrl = "441cDEL.asp" dwzUpload.Path = "/iCIB3/HTMLimgUPL/"+Foldername+"|_|1" dwzUpload.TempPath = "/iCIB3/HTMLimgUPLtmp|_|1" dwzUpload.TestEnvironment() dwzUpload.Init() dwzUpload.rootPath = "../" dwzUpload.Texts = "Datei wählen...|_|Start upload|_|Cancel upload|_|Start|_|Cancel|_|Delete|_|Your browser does not support drag'n'd_r_o_p file uploads.|_|Please use the fallback form below to upload your files.|_|Invalid file type. Allowed file type: {{FilesType}}|_|The size of the file is {{filesize}}Mb but the max allowed file size is {{maxFilesize}}Mb|_|Connection error status code {{statusCode}}|_|Confirm remove the selected file.|_|The file cannot be uploaded. Cause file number limit.|_|Upload fertig." dwzUpload.OverwriteMode = "1" 'dwzUpload.AllowedExtensions = "jpg" 'dwzUpload.AllowedExtensionsDescription = "JPEG" dwzUpload.Sizes = "0,0,5" dwzUpload.InsertParameters = "1|_|form1|_|dbo.T_CIB_440c_I|_|MMSENGN1@_@MMSENGNO@_@Text,Void@_@N@_@@_@@_@@_@@_@@_@|_|1|_|dbo.T_CIB_440c_I|_||_||_|IP_IMG01|_|IP_IMG02|_||_|IP_IMGSZ|_|IP_IMSZW|_|IP_IMSZH|_|2|_|" & MM_DB_AKi203_STRING dwzUpload.ResizeParameters = "0|_|1|_|1024|_|768|_|80|_|1|_|1|_|220|_|160|_|80|_|1|_|_m|_|2|_|0|_||_||_|80|_|1|_|_s|_|2" if dwzUpload.IsPostBack() then dwzUpload.Upload() dwzUpload.Save() end if '**************************** ' MultipleFileUpload HTML 5 '**************************** %>
<!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>
<% '**************************** ' MultipleFileUpload HTML5 '**************************** dwzUpload.JsIncludes() '**************************** ' MultipleFileUpload HTML5 '**************************** %> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Unbenanntes Dokument</title>
</head>
<body> <form action="" method="post" enctype="multipart/form-data" name="form1" id="form1"> <p> </p> <p> <label for="upload"></label> </p> <p> <label for="MMSENGN1">MMSENGN1</label> <input type="text" name="MMSENGN1" id="MMSENGN1" value="<%= Foldername %>"/> </p> <p> </p> <p>
</p> <p> <% '**************************** ' MultipleFileUpload HTML5 '**************************** dwzUpload.DomConstructor() '**************************** ' MultipleFileUpload HTML5 '**************************** %> </p> <p> </p> </form> </body> </html> <% '**************************** ' MultipleFileUpload HTML5 '**************************** Set dwzUpload = nothing '**************************** ' MultipleFileUpload HTML5 '**************************** %>
i tried also the Button DYNAMIC from the MultiUpload Dreamweaver Wizard, but this will also not work.
can you help me please
Regards Andreas
|
|
|