Hi,

I'm using a slight modification of code from www.planetsource.com for uploading file (only gif and jpgs). My problem is Im getting an error

Code:
Microsoft VBScript runtime error '800a0046' 

Permission denied
sometimes. Any idea why this is happening?? Its occurring at the line where Im creating the textfile.

Code:
Set fsoFile = fso.CreateTextFile(fileName,True)
any help??

thanx a ton!