Forums

ASP

This topic is locked

Getting an Error with Pure ASP 2.2

Posted 09 Oct 2005 18:34:49
1
has voted
09 Oct 2005 18:34:49 Bill Henderson posted:
Hello,

After following the tutorial and assembling an insert record form with a couple upload fields, I'm getting a run-time error - Object Expected - that points to this line of code:

<form action="/add_featured_home.asp?GP_upload=true" method="POST" enctype="multipart/form-data" name="form1" onsubmit="return ProgressBar();checkFileUpload(this,'GIF,JPG,JPEG,BMP,PNG',true,'',300,300,800,800,'','');showProgressWindow('fileCopyProgress.htm',300,100);return document.MM_returnValue">


If I ignore the error and continue, I get :

An error has occurred while saving uploaded file!

Filename: e:\kunden\homepages\31\d100743262\payne\images\blevans_map.gif

Now this is the correct directory into which the upload should be going. If I pick a file that already exists in that location, the "Overwrite" function doesn't appear to work correctly either, as I get the same error, but with the added "This file already exists on the server."

I want to have the server version overwritten anytime this happens and thought I'd set up the plugin accordingly.

I'm a bit lost here. Just spent over $100 though, so I'm in for the long haul on this one =)

Thanks

Bill

Replies

Replied 11 Oct 2005 05:59:35
11 Oct 2005 05:59:35 Bill Henderson replied:
Hi guys - just an update. Got it working. It was actually an error in my database construction. As soon as that was resolved, I was uploading in no time!

Carry on

Bill

Reply to this topic