Print Page | Close Window

Web Wiz Forums version 7.8 - upload ...

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=13936
Printed Date: 12 April 2026 at 6:11am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Web Wiz Forums version 7.8 - upload ...
Posted By: pighead001
Subject: Web Wiz Forums version 7.8 - upload ...
Date Posted: 21 February 2005 at 9:26pm
Web Wiz Forums version 7.8 - upload ...

My server only support this upload component

ABCUpload
Server.CreateObject("ABCUpload4.XForm")

I have no ideal how to set the current Web wiz forums v7.8 so that the forum can have the upload function.




Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 February 2005 at 4:42am
ABCUpload, thats a new one I've never heard of before.

This would be quite a difficult task unless you are good with ASP.

You would need to edit the functions/functions_upload.asp file to add in all the methods and properties of this component in order to make the forum work with it.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: dpyers
Date Posted: 22 February 2005 at 9:51am
ABCUpload is an ActiveX component - a user has to upload and install it on their local machine. Not likely to be done by anyone with any sort of security awareness.
 
The upload components currently used by WWF are server-side components only. The user doesn't need to install anything.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: WebWiz-Bruce
Date Posted: 22 February 2005 at 10:47am
On the ABCUpload homepage it says it is an Active X component.

But on reading through the support pages it looks like ti is a server side ASP component.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pighead001
Date Posted: 22 February 2005 at 8:46pm
Originally posted by -boRg- -boRg- wrote:

ABCUpload, thats a new one I've never heard of before.

This would be quite a difficult task unless you are good with ASP.

You would need to edit the functions/functions_upload.asp file to add
in all the methods and properties of this component in order to make the
forum work with it.



For this functions/functions_upload.asp i have edit because the script are not easy match with so need the developer help

Example for this ABCUpload

<%'Basic Upload%>
<html>
<body>
<form method="post" action="basicupload.asp" enctype="multipart/form-data">
<input type="file" name="filefield"><br>
<input type="submit" name="submit" value="submit">
</form>
<body>
</html>
--------------
<% @Language="VBScript" %>
<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theForm.Overwrite = True
If theForm.Files("filefield").FileExists Then
   theForm.Files("filefield").Save "myupload.dat"
End If
%>
<html>
<body>
File uploaded...
</body>
</html>


=======================================
<%'Image Upload %>
<html>
<body>
<form method="post" action="imageupload.asp" enctype="multipart/form-data">
<input type="file" name="image1"><br>
<input type="file" name="image2"><br>
<input type="submit" name="submit" value="submit">
</form>
<body>
</html>
----
<% @Language="VBScript" %>
<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theForm.Overwrite = True
Set theField = theForm.Files("image1")
If theField.FileExists Then theField.Save theField.FileName
Set theField = theForm.Files("image2")
If theField.FileExists Then theField.Save theField.FileName
%>
<html>
<body>
Images uploaded...
</body>
</html>

==========================================
<%'Upload to File server %>
<html>
<body>
<form method="post" action="sfmupload.asp" enctype="multipart/form-data">
<input type="file" name="file"><br>
<input type="submit" name="submit" value="submit">
</form>
<body>
</html>
------
<% @Language="VBScript" %>
<html>
<body>
<%
Set theForm = Server.CreateObject("ABCUpload4.XForm")
theForm.AbsolutePath = True
Set theField = theForm.Files("file")
If theField.FileExists Then
theField.Save "C:\" & theField.SafeFileName
Response.Write "File uploaded..."
Else
Response.Write "No file uploaded..."
End If
%>
</body>
</html>






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net