Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Server Help

Thread Tools
 
Search this Thread
 
Old Apr 7, 2003 | 10:22 AM
  #1  
Rob Walker's Avatar
Rob Walker
Thread Starter
Scooby Regular
 
Joined: Nov 1999
Posts: 474
Likes: 0
From: Stockport
Post

Is there any way on IIS server to trigger a script/executable after a file has been downloaded?

Basically I want to be able to delete a file after the user has downloaded it.. At the moment I scan through the logfiles every X minutes checking for the relevant file.. Just wondering if there was an easier/more efficient way of doing it..

Cheers
Reply
Old Apr 7, 2003 | 10:44 AM
  #2  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

Create an asp page to do the download from, then when a button is clicked to trigger the download the script could then do whatever..

David
Reply
Old Apr 7, 2003 | 11:09 AM
  #3  
Rob Walker's Avatar
Rob Walker
Thread Starter
Scooby Regular
 
Joined: Nov 1999
Posts: 474
Likes: 0
From: Stockport
Post

Unfortunately I can't use asp... or any sort of scripting.. the user gets direct links only..
Reply
Old Apr 7, 2003 | 11:12 AM
  #4  
Andrewza's Avatar
Andrewza
Scooby Regular
 
Joined: Jan 2002
Posts: 667
Likes: 0
Post

Does IIS support URL rewriting? if you can spot the pattern for the links to the files in the logs you could redirect them to an ASP script.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ex-webby
ScoobyNet General
18
May 21, 2001 10:59 AM
SDB
Non Scooby Related
9
May 14, 2001 10:14 PM
Markus
Non Scooby Related
0
Nov 30, 2000 10:11 AM
Puff The Magic Wagon!
Non Scooby Related
5
Nov 6, 2000 08:09 PM




All times are GMT +1. The time now is 07:24 AM.