Print Page | Close Window

Detect AspUpload

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=5555
Printed Date: 30 March 2026 at 11:40pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Detect AspUpload
Posted By: KCWebMonkey
Subject: Detect AspUpload
Date 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?



Replies:
Posted By: michael
Date 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
%>



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: KCWebMonkey
Date 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...



Posted By: b_bonnett
Date Posted: 05 September 2003 at 6:59pm

There's a script over at http://www.pensaworks.com - 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, http://www.planegallery.net/ - The Plane Gallery
Greetings From Christchurch


Posted By: KCWebMonkey
Date 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 - http://www.pensaworks.com/freeware/com_dl.asp?dlID=1 http://www.pensaworks.com/prg_com.asp?v=3 -



Posted By: b_bonnett
Date 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, http://www.planegallery.net/ - The Plane Gallery
Greetings From Christchurch


Posted By: KoVa
Date 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/ - http://www.pensaworks.com  and download script but this thing too didn't work.What should I do?



-------------
"A calm sea does not make a skilled sailor."


Posted By: KoVa
Date 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



-------------
"A calm sea does not make a skilled sailor."


Posted By: dpyers
Date Posted: 18 September 2003 at 1:06am

Line 11 of the script has

server.scripttimeout = 1000

You would need to change 1000 to 60 for your host, or take out the line entirely.

You may then not have allowed enough time to run all of the component tests so might have to make several versions of the file that only test maybe 50 components at a time.



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

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



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