Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - SoftArtisans.SAFile.1 error '80020009'
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SoftArtisans.SAFile.1 error '80020009'

 Post Reply Post Reply
Author
webhound View Drop Down
Newbie
Newbie


Joined: 15 July 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote webhound Quote  Post ReplyReply Direct Link To This Post Topic: SoftArtisans.SAFile.1 error '80020009'
    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=


 



Edited by webhound
Back to Top
thedave View Drop Down
Groupie
Groupie
Avatar

Joined: 08 June 2003
Location: United Kingdom
Status: Offline
Points: 48
Post Options Post Options   Thanks (0) Thanks(0)   Quote thedave Quote  Post ReplyReply Direct Link To This Post Posted: 16 July 2003 at 6:28am
is this anything to do with web wiz forums ?
ello?!
Back to Top
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Posted: 16 July 2003 at 6:32am

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

 

Back to Top
webhound View Drop Down
Newbie
Newbie


Joined: 15 July 2003
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote webhound Quote  Post ReplyReply Direct Link To This Post 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

 



Edited by webhound
Back to Top
YaGMuR_PreNSi View Drop Down
Groupie
Groupie
Avatar

Joined: 26 May 2005
Location: Turkey
Status: Offline
Points: 71
Post Options Post Options   Thanks (0) Thanks(0)   Quote YaGMuR_PreNSi Quote  Post ReplyReply Direct Link To This Post 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: www.FatihAytekin.com
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.