Error Posting a file to server

M

Mike

Hi,
I'm psoting a file to my webserver IIS 5, win 2k.
This is the lines of code it errors on the last line
Set streamFile = Server.CreateObject("ADODB.Stream")
streamFile.Type = 1
streamFile.Open
StreamRequest.Position=fileItem.Start
StreamRequest.CopyTo streamFile, fileItem.Length
streamFile.SaveToFile path & fileItem.FileName, 2



The error is this in Internet Explorer.
Error Type:
ADODB.Stream (0x800A0BBC)
Write to file failed.
/filetransfer/freeaspupload.asp, line 60


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
T312461; .NET CLR 1.0.3705)

Page:
POST 357 bytes to /filetransfer/uploadtester.asp

POST Data:
error '80020009'
Exception occurred.

/IISHelp/common/500-100.asp, line 223


My question is what do I need to configure in IIS to allow
it to work? The folder I'm uploading files to has full
control to everyone etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,781
Messages
2,569,615
Members
45,296
Latest member
HeikeHolli

Latest Threads

Top