DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Multiple file upload  
DwZone Forum Index -> Multiple file upload
.
Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 71 to 80 of 148 (Total: 146) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Dynamic Folder  
View this persons public profile  Gianluigi   10:43 8 Feb 2016  
    Dynamic Folder  
View this persons public profile  heise   3:36 5 Feb 2016  
 
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





 
Reply to this current thread  View this persons public profile  Send Private Message
   relative path  
View this persons public profile  Rudi   0:14 26 Jan 2016  
   Re: relative path  
View this persons public profile  Gianluigi   10:16 26 Jan 2016  
   Re: relative path  
View this persons public profile  Rudi   11:13 26 Jan 2016  
   Re: relative path  
View this persons public profile  Gianluigi   14:30 26 Jan 2016  
   Re: relative path  
View this persons public profile  Rudi   2:03 27 Jan 2016  
   Re: relative path  
View this persons public profile  Rudi   2:03 27 Jan 2016  
   Re: relative path  
View this persons public profile  Gianluigi   11:19 28 Jan 2016  
   Re: relative path  
View this persons public profile  Rudi   10:12 1 Feb 2016  
Last Visit: Tuesday 7 Jan, 2025 9:44 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: