Components Required to Upload Images using ASP

parindar

New Member
Is there any dll or class file that is required to upload images on an IIS server ???

Uploading images on the same server using PHP works.

But when I try uploading with ASP , I get the following error :

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/gokhatak/html/esmileclub/login/default.asp, line 14

Invalid class string


Can anyone please help me out , it's urgent.
 

Leenstra Alex

New Member
I had the same problem

First install then posting acceptor from MiscroSoft on THe NT server

USE the following source

<html><head><title>Olifante onder my bed</title></head>
<body background="/uren/background.gif" bgproperties="fixed">
<form method=post ENCTYPE="multipart/form-data" >
File : <input type="file" name="File1"><br>
<input type="submit" Name="Action" value="Upload het bestand">
</form>
</body></HTML>
<!--#INCLUDE FILE="upload.inc"-->
<%
If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
Set Fields = GetUpload()
FilePath = Server.MapPath(".\images") & "\" & Fields("File1").FileName
Fields("File1").Value.SaveAs FilePath
End If
%>
 
Top