CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 upload problem

Print topic Send  topic

Author Message
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
View profile  Send private message
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

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.