Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Web Wiz Forums version 7.8 - upload ...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Wiz Forums version 7.8 - upload ...

 Post Reply Post Reply
Author
pighead001 View Drop Down
Newbie
Newbie


Joined: 21 February 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote pighead001 Quote  Post ReplyReply Direct Link To This Post Topic: Web Wiz Forums version 7.8 - upload ...
    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.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
pighead001 View Drop Down
Newbie
Newbie


Joined: 21 February 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote pighead001 Quote  Post ReplyReply Direct Link To This Post 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>



Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.