How to use Dynamic Folder?
Server.MapPath("/test/photos/") & Request.QueryString("mainid")
The files always upload to the folder 'photos', they can't upload to the Dynamic Folder.
-----------------------------------------------------------------------------------------------------------------
<% '**************************** ' http://www.DwZone-it.com ' MultipleFileUpload HTML 5 ' Version 1.2.32 '**************************** Set dwzUpload = New dwzASPUpload dwzUpload.UploadType = "HTML5" dwzUpload.Instance = "1" dwzUpload.ExtraInfo = "Bootstrap,Default|_|5400|_|false,80,80|_|500,500|_|false|_||_|utf-8" dwzUpload.RedirectUrl = "index.asp" dwzUpload.Path = "Server.Mappath(@_apex_@/test/photos/@_apex_@ & Request.QueryString(@_apex_@upfld@_apex_@))|_|3" dwzUpload.TempPath = "photos/|_|1" dwzUpload.TestEnvironment() dwzUpload.Init() dwzUpload.rootPath = "" dwzUpload.Texts = "Add files...|_|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 completed." dwzUpload.OverwriteMode = "1" dwzUpload.AllowedExtensions = "" dwzUpload.AllowedExtensionsDescription = "" dwzUpload.Sizes = "0,0,0" dwzUpload.InsertParameters = "0|_||_||_||_|0|_||_||_||_||_||_||_||_||_||_||_|" & MM_Void_STRING dwzUpload.ResizeParameters = "0|_|1|_|1000|_|300|_|80|_|1|_|1|_|500|_|100|_|80|_|1|_|m_|_|1|_|0|_||_||_|80|_|1|_|_s|_|2" if dwzUpload.IsPostBack() then dwzUpload.Upload() dwzUpload.Save() end if '**************************** ' MultipleFileUpload HTML 5 '**************************** %> |
|
|