xiaoxaio
|
Posted: 02/16/2004, 8:29 PM |
|
I am having upload problem. The server has already granted the necessary access, however, user (beside administrator- server) still unable to upload files. Error msg as below:-
An error occured when uploading file specified in NewUpload_FileUpload1. Error description: Microsoft VBScript runtime error, Permission denied.
Here is my upload code:-
Function NewUpload_FileUpload1_BeforeProcessFile() 'NewUpload_FileUpload1_BeforeProcessFile @70-66209951
'Custom Code @201-73254650
' -------------------------
dim doc_folder, VCREATED_DATETIME
VCREATED_DATETIME = CCDLookup("CREATED_DATETIME","T_DOC_DATA",_
"DOC_ID=" & CCToSQL(T_DOC_DATA1.DOC_ID.value,"INTEGER"),DBDMSConn)
doc_folder = "doc/"&datepart("YYYY", VCREATED_DATETIME)&"/"&datepart("M", VCREATED_DATETIME)&"/"
NewUpload.FileUpload1.FileFolder = Server.MapPath(""&doc_folder&"")
NewUpload.FileUpload1.VALUE = "\"&NewUpload.FileUpload1.VALUE
' -------------------------
'End Custom Code
End Function 'Close NewUpload_FileUpload1_BeforeProcessFile @70-54C34B28
|
|
|
peterr
Posts: 5971
|
Posted: 02/17/2004, 12:20 AM |
|
The error looks clear.
What do you mean by "The server has already granted the necessary access"? What is the "necessary access"?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
fburtin
|
Posted: 10/28/2004, 2:20 PM |
|
You have to click the folder where you are going to save your file and click read only leave it off checked
|
|
|
|