Forums

This topic is locked

File Rename pure ASP upload 2.1.3

Posted 11 Jun 2003 00:22:45
1
has voted
11 Jun 2003 00:22:45 Mother  posted:
I have tried a hundred different ways to get this program to rename the file with just the original name, and a session variable. It refuses.

Currently I am using this code below, and getting the error at the bottom of the page. Any thoughts?


' *** Rename Uploaded Files 1.7.0
If (CStr(Request.QueryString("GP_upload") <> "" Then
Dim REUF_path, REUF_nameConflict, REUF_renameMask
REUF_path = ""
REUF_nameConflict = "uniq"
REUF_renameMask = session("svCUST" & ".##ext##"
RenameUploadedFiles REUF_path,REUF_nameConflict,REUF_renameMask
end if


Microsoft VBScript runtime error '800a0046'

Permission denied

/ScriptLibrary/incPUAddOn.asp, line 158


Mother

p.s. I am not sure if this goes here, or in extension developement since it seems that is for the building of extensions and not the use there in, please clarify for me. thx

Replies

Replied 12 Jun 2003 11:32:28
12 Jun 2003 11:32:28 Patrick Woldberg replied:
A lot of extensions have there own support forums, for the ASP Upload Add-on that is www.dmxzone.com/forum/default.asp?NewsId=3331

Do you have the permissions setup correctly from the folder?
IIS also needs delete permissions there

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Manager at DMXzone.com
--------------------------------------------------

Reply to this topic