Print Page | Close Window

SoftArtisans.SAFile.1 error '80020009'

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=4276
Printed Date: 13 April 2026 at 1:48pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: SoftArtisans.SAFile.1 error '80020009'
Posted By: webhound
Subject: SoftArtisans.SAFile.1 error '80020009'
Date Posted: 15 July 2003 at 10:44pm

 

What is the path we put in for file uploads ??? is it relative to what ??

Does it matter if the hosting company uses virtual dirs ??

SoftArtisans.SAFile.1 error '80020009'
 Creation of cached file failed. Please check the NTFS permissions for the
 directory path "e:\inetpub\svc307\uploadforum". This directory requires Read,
 Write and Delete permissions by the anonymous user ( NT account:
 IUSR_computername ) as well as for your authenticated users.

/forum/functions/functions_upload.asp, line 228


http://discuss.softartisans.com/cgi-bin/wa.exe?S2=safileup-l&L=SAFILEUP-L&q=error+%2780020009%27&s=&f=&a=&b - http://discuss.softartisans.com/cgi-bin/wa.exe?S2=safileup-l&L=SAFILEUP-L&q=error+%2780020009%27&s=&f=&a=&b =


 




Replies:
Posted By: thedave
Date Posted: 16 July 2003 at 6:28am
is this anything to do with web wiz forums ?

-------------
ello?!


Posted By: Phat
Date Posted: 16 July 2003 at 6:32am

You need to make sure you have write permissions to the folder you're uploading to.

 



Posted By: webhound
Date Posted: 16 July 2003 at 7:16am

Hi,

Yes permissions where correct, my SoftArtisans FileUp component was too old i think 3.1.1.7 apparently..

I just culled the new calls and put in the old ones I knew worked...

Don't have any documents on SAFileUP

Thanx for the comments,

Richard

functions/functions_upload.asp

'Function to upload a file

Function fileUpload(ByVal strFileUploadPath, ByVal saryFileUploadTypes, ByVal intMaxFileSize, ByVal strUploadComponent, ByRef lngErrorFileSize, ByRef blnExtensionOK)

 'Dimension variables
 Dim objUpload  'Uplaod component
 Dim strNewFileName 'Holds the file name
 Dim strOriginalFileName 'Holds the original file name for those components that need to save the file first
 Dim strFilename

 strNewFileName = "TEST"
 strOriginalFileName = "TEST"
 strFilename = "ERROR"

  '******************************************
  '***  SoftArtisans FileUp component    ****
  '******************************************

  'SA FileUp upload component - tested with version 3.1.1 not VER 4 COMPAT
  
   'Create upload object
   Set objUpload = Server.CreateObject("SoftArtisans.FileUp")

    'Over write files or an exception will occur if it already exists
    'objUpload.OverWriteFiles = True

    'Set the upload path
    '.Path = Server.MapPath(strFileUploadPath)

    'Get the file name, the path mehod will be empty as we are saving to memory so use the original file path of the users system to get the name
    strNewFileName = Mid(objUpload.UserFilename, InstrRev(objUpload.UserFilename, "\") + 1)

       
    'Check the file size is not above the max allowed size, this is done using a function not the compoent to stop an exception error
    lngErrorFileSize = fileSize(objUpload.TotalBytes, intMaxFileSize)

    'Loop through all the allowed extensions and see if the file has one
    blnExtensionOK = fileExtension(strNewFileName, saryFileUploadTypes)

    'rs36 Check UPLOADED
    if objUpload.IsEmpty Then blnExtensionOK = False
    'rs36 CHECK FORM SUB
    'If objUpload.ContentDisposition <> "form-data" Then blnExtensionOK = False

    'Replace spaces with underscores and Randomise File Name
    strNewFileName = Replace(strNewFileName, " ", "-", 1, -1, 1)
    strNewFileName = Replace(Formatdatetime(now(),vbshortdate) , "/", "-", 1, -1, 1) & strNewFileName


    'If the file is OK save it to disk
    If lngErrorFileSize = 0 AND blnExtensionOK = True Then

     'objUpload.form("file").SaveInVirtual "/uploadforum"
     objUpload.form("file").SaveInVirtual strFileUploadPath & "/" & strNewFileName
          
     fileUpload = strNewFileName
    End If
  'Clean up
  Set objUpload = Nothing
End Function

 



Posted By: YaGMuR_PreNSi
Date Posted: 21 January 2006 at 5:25pm
hi,
error '80020009'

/forum/son.asp, line 95

SOn Yazılan Konular Bölümünde Bu Çıkıyor Acaba Yardım Edebilirmisiniz?


-------------
MSN and Mail admin@yagmurprensi.net

My WWF: http://www.fatihaytekin.com" rel="nofollow - www.FatihAytekin.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net