PDA

View Full Version : ASPupload problems...


Mhtml
11-03-2002, 03:24 AM
I'm having problems using the ASPupload component from aspupload.com by persits software...

I have read the documentation but I still get errors. Anyone with experience in this would be a great help.

<%
Set Upload = Server.CreateObject("Persits.Upload")
' Do not throw the "Wrong ContentType error first time out
Upload.IgnoreNoPost = True
Count = Upload.SaveVirtual("upload\")
If Count > 0 Then
Response.Write Count & " file(s) uploaded."
End If
%>

<HTML>
<BODY BGCOLOR="#FFFFFF">
<h3>Simple Upload</h3>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="BothFormAndScript.asp">
<INPUT TYPE="FILE" SIZE="40" NAME="FILE1"><BR>
<INPUT TYPE="FILE" SIZE="40" NAME="FILE2"><BR>
<INPUT TYPE="FILE" SIZE="40" NAME="FILE3"><BR>
<INPUT TYPE=SUBMIT VALUE="Upload!">
</FORM>
</BODY>
</HTML>

Carl
11-03-2002, 04:50 AM
Your code seems to short. Did you install any software that is needed?

Also, this works for me.
http://www.aspit.net/codesnippets.asp?action=read&id=40

Mhtml
11-03-2002, 04:55 AM
That is for dot net and has nothing to do with the aspupload component which is installed.

dominicall
11-03-2002, 02:52 PM
Hi Mhtml

Are you getting an error message or is it just not uploading???

I use ASPupload a lot - if you're getting error messages post the full error message and I'll have a look at it for you.

Dominic :D

whammy
11-03-2002, 05:18 PM
That is shareware... here's a free component if you want to try it, hear it works great (and I'm gonna find out shortly):

http://www.dundas.com

Morgoth
11-03-2002, 06:11 PM
I have AspUpload installed correctly and I have paid for it.
It was my fault Mhtml had an error, it works now, he just needs to read his e-mail. :D

whammy
11-03-2002, 09:29 PM
Now that's support. :)

Morgoth
11-03-2002, 10:58 PM
I guess whammy says this because I admited to it being my fault. Unlike those companies that tell you it's your probem and force you to download and perchase a 400mb, $400 dollar help manual that will take you 400 days to read and find out your forgot to put 400 in a place where you put 300...

Stupid Microsoft.


lol...