Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Detect AspUpload
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Detect AspUpload

 Post Reply Post Reply Page  12>
Author
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Topic: Detect AspUpload
    Posted: 05 September 2003 at 12:37pm
Is there an ASP script i can run on the server to detect if AspUpload component is installed and registered on the server?
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 2:00pm

This should work for you:


<%
On Error Resume Next
Set Upload = Server.CreateObject("Persits.Upload")
If Err.Number <> 0 THEN
 Response.Write "ASP Upload is not installed"
ELSE
 Response.Write "ASP Upload is installed"
END IF
Set Upload = NOTHING
%>

Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 2:50pm

ASP Upload is not installed

Thanks Michael, The sysadmin at work won't tell me anything about the server, so i have to figure out on my own what is installed or not...

Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 6:59pm

There's a script over at http://www.pensaworks.com which will search for ~300 components and tell you what ones are installed. You can even select which category of components to view. I find it very handy .

Blair

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
KCWebMonkey View Drop Down
Senior Member
Senior Member
Avatar
Go Chiefs!

Joined: 21 June 2002
Status: Offline
Points: 1319
Post Options Post Options   Thanks (0) Thanks(0)   Quote KCWebMonkey Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 8:38pm

Nice script, thanks Blair.

here's the direct link: http://www.pensaworks.com/freeware/com_dl.asp?dlID=1



Edited by KCWebMonkey
Back to Top
b_bonnett View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Location: New Zealand
Status: Offline
Points: 275
Post Options Post Options   Thanks (0) Thanks(0)   Quote b_bonnett Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2003 at 11:12pm

No problems.

I find it quite astounding that there are over 300 different components. There are about 25 on my server, and I've never used more than 3 or 4 !

Blair

Webmaster, The Plane Gallery
Greetings From Christchurch
Back to Top
KoVa View Drop Down
Newbie
Newbie
Avatar

Joined: 14 September 2003
Location: Bosnia Hercegovina
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote KoVa Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2003 at 4:46am

Hi guys I'm new at forums so I will need your help.

I tryed to upload this script wich michael gave and i have err wile uploading this file, so i decided to go to http://www.pensaworks.com and download script but this thing too didn't work.What should I do?

Back to Top
KoVa View Drop Down
Newbie
Newbie
Avatar

Joined: 14 September 2003
Location: Bosnia Hercegovina
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote KoVa Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2003 at 4:48am

This is what it says:

The Server.ScriptTimeout in one or more of your files was found to be set above 90 seconds. Here is the proper way to set this Server property:
Server.ScriptTimeout = 60

Back to Top
 Post Reply Post Reply Page  12>

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.