Pure ASP Upload 3 Support Product Page

upload file and rename characters - BUG

Reported 11 Mar 2010 13:30:44
1
has this problem
11 Mar 2010 13:30:44 MX Addict posted:
Hi DMX-team

Used components

Windows Server 2003
Pure ASP File Upload 3.0.16
Rename Uploaded Files 1.8.1
Insert Behaviour

When uploading file like:

test.pdf renaming and uploading succesfully

test(1).pdf uploading successfully but does not rename..

It has to do with the brackets characters


<
%'*** Pure ASP File Upload 3.0.16
' Process form form1
Dim pau, DMX_uploadAction, UploadRequest, UploadQueryString, pau_thePath, pau_nameConflict, pau_saveWidth, pau_saveHeight
Set pau = new PureUpload
pau.ScriptLibrary = "../ScriptLibrary"
pau.ConflictHandling = "uniq"
pau.StoreType = "file"
pau.ProgressTemplate = "mac_look.htm"
pau.ProgressWidth = 400
pau.ProgressHeight = 100
pau.UploadFolder = """../images/projects/""& (rsNews.Fields.Item(""projectnumber"").Value)"
pau.ProcessUpload
pau.SaveAll
%>
<
%' *** Rename Uploaded Files 1.8.1
If (CStr(Request.QueryString("GP_upload")) <> "") Then
  Dim REUF_renameMask
  REUF_renameMask = (rsNews.Fields.Item("projectnumber").Value)&"_newsitem.##ext##"
  RenameUploadedFiles pau_thePath, pau_nameConflict, REUF_renameMask
end if
%>


Replies

Replied 16 Mar 2010 18:03:12
16 Mar 2010 18:03:12 MX Addict replied:
Hello DMXzone,

still problems with PAU 3.0.16 and Rename Uploaded files 1.8.1

see also:

www.dmxzone.com/forum/topic/48689/?newsId=3331

Reply to this topic