Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 aspSmartUpload trouble
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Morten
Junior Member

Denmark
251 Posts

Posted - 14 March 2002 :  07:53:51  Show Profile
I have installed aspSmartUpload - http://www.aspsmart.com - on my PWS NT.4.0 - followed the instuctions very carefully - but when I try out the sampleforms that follows with the download nothing really happens - I´m told that my uploads was succesfull - but nothing in the folder. The HTML-form looks like this:


<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartUpload : Sample 1</H1>
<HR>

<FORM METHOD="POST" ACTION="/scripts/aspSmartUpload/Sample1.asp" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="FILE1" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE2" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE3" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE4" SIZE="50"><BR>
<INPUT TYPE="SUBMIT" VALUE="Upload">
</FORM>

</BODY>
</HTML>


after subitting the form I get the message that everything went fine by the ASP-document that the form called:

<HTML>
<BODY BGCOLOR="white">

<H1>aspSmartUpload : Sample 1</H1>
<HR>

<%
' Variables
' *********
Dim mySmartUpload
Dim intCount

' Object creation
' ***************
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

' Upload
' ******
mySmartUpload.Upload

' Save the files with their original names in a virtual path of the web server
' ****************************************************************************
intCount = mySmartUpload.Save("/aspSmartUpload/Upload")
' sample with a physical path
'intCount = mySmartUpload.Save("c:\temp\")

' Display the number of files uploaded
' ************************************
Response.Write(intCount & " file(s) uploaded.")
%>
</BODY>
</HTML>


I have checked if I did install the dll files right - and I did - a servercheck script indicates that aspSmartUpload is installed at the server. I have also tryed to change the virtual dir into a physsical - no changes. Are there anybody here that have experienced how to setup this component and the forms/scripts to use the upload feature ?

Morten



Edited by - morten on 14 March 2002 07:57:48

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 14 March 2002 :  07:57:49  Show Profile  Visit Gremlin's Homepage
Does the save directory exist ?

/aspSmartUpload/Upload/

If either level of that doesnt already exist you'll need to create it first then try again. I've used aspSmartUpload for quite a while on 2kServer but never PWS though sorry.

www.daoc-halo.com
Go to Top of Page

Morten
Junior Member

Denmark
251 Posts

Posted - 14 March 2002 :  08:04:41  Show Profile
Hi Gremlin (you are quick!)

Yes I´m refreshing that dir for hours - I also tryed to upload a file that I know is uniqe by name, just to check where it ended up - and tryed to do a search for the file at the computer after the upload - but it still was uniqe, so the upload never really happend

Morten

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 14 March 2002 :  15:36:48  Show Profile  Visit Gremlin's Homepage
hmm ok, do you have Nortons Antivirus running or anyother type of virus protection which includes "sctipt protection" ?

www.daoc-halo.com
Go to Top of Page

Morten
Junior Member

Denmark
251 Posts

Posted - 14 March 2002 :  20:59:08  Show Profile
No, I don´t like those virus scanners. I will try to reinstall or simply drop it - thanks anyway.

Morten

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 14 March 2002 :  21:03:32  Show Profile  Visit Gremlin's Homepage
Was asking becuase they sometimes will block some scripts from working correctly.

Other thing is permissions, make sure IUSER_MACHINE name has full access to the directories your trying to upload too.

www.daoc-halo.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07