Detect Downloads
Is it possible to detect downloads of a file on the web server? Using ASP Classic?
View RepliesIs it possible to detect downloads of a file on the web server? Using ASP Classic?
View RepliesI'm running windows 2000 profession, and i know that i can install it from control panel but i tried and it's asking me for the cd and id ont have it.
Could you give me the direct links to the IIS Download as well as the Personal Web Server download.
I have an FTP server that I use to store documents. When a user needs to download any document the "download link" directly points to the FTP server (eg: <a href="ftp://some URL since URL are blocked">Download</a>). I want to avoid this and now have added a user name and password to the FTP sever. But instead of giving the link as "ftp://usernameassword@myftpserver.com/document.xls, I want a much secure way of letting the user download the file without letting the user know about the FTP server username and password.
View Replies View RelatedI need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script
that count number of downloads, and then redirect to the spesific file. But
this soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?
I have an Access db with usernames and passwords set up on a web site. Upon signing in to a password protected asp page which contains a link to an exe file, the user clicks the link and the browser asks to either Open or Save the file.All this works fine, but if the user simply types the full path to in the address bar, the browser again asks the user to either Open or Save the file - thus bypassing the security Is there a way to prevent this "back door" of accessing the file or would I have to set up an FTP mechanism.
View Replies View RelatedIs it possible to log a successful/unsuccessful download in ASP? I've got a download logging system but I'm wondering if its possible to find out if a download was disconnected or not?
View Replies View RelatedI want to provide the ability to download files from a web page based on whether a user has paid for the file. I therefore need to hide the URL from the user.
How do I write code to download a file and hide its URL?
I have an VB ASP page that creates, using a linked database, ad-hoc queries. Like, the user selects what table to look into, what fields, any criterias (ex: PROVINCE="QC"), etc. That part is easy.The problem is, I would like the results to be outputted in MS EXCEL. Well, it's not my idea, but I have to do it. Any ideas how this can be done?
My only idea would be that:
1) The ASP page writes to a file on the server and offer a link to the user to download that file.
2) User Downloads
3) We can't have these Excel files cluttering up the server, so the file would also have to be deleted automatically.
Is this even remotely possible?
I'm not too good with ASP, so is it even possible to write to file? Could I create a Workbook/worksheet object using VB ASP?Can I delete the file programatically
Does anyone know of a way to be able to take 10 urls which point to zip files and then for it to download them one by one, i.e. when one has finished to then begin the next one.
This is for an asp site which is why i posted it here, but i am not sure where to post this as i dont even know how to go about doing it.
I have a website setup which also provide ability to download latest version
of our Software by logging into the webpage. All latest softwares (ONLY ONE
FILE .EXE for each Software) are located in the "/Download" folder of my
website. Customer will login to website and the ASP page decide the software
that this user has purchased and privide ONLY that Hyperlink to download the
latest Version file.
My problem is if somoe body know the path and file name then they directly
put the URL in address bar and will get latest file. How do I restrict that?
Please suggest all possible solutions.
A big problem with most server statistics is that when they count file downloads, they are counting the number of requests to the server, not complete downloads. Is it possible to count downloads more accurately?
I can use the Response.IsClientConnected command immediately after streaming the file to the browser but it's working only for files with size less then 80MB . How can I resolve this problem?
I have a file that SHOULD only be made accessable to registered users. They must login to get to the download page. The problem I have is that once a user logs in an gets to that page they can potentially share the web link to that file with anyone and that unregistered user can bypass logging in.
I was thinking something along the lines of download.com where when you click download, the actual files location only appears for a split second, pops up the download box, then it switches to another webaddress?
I have a website that (like many) allows users to download large files. Some are up to several hundred MB in size. The problem is that since switching to IIS 6.0, the size of the file is limited by the ASPBufferingLimit, and it's size seems to be limited to only 4294967295 bytes.
That's pretty big but it's not quite big enough and I need to disable it. Some people have recommended setting it to -1 via:
c:
cd C:inetpubadminscripts
cscript adsutil.vbs set /w3svc/1/aspbufferinglimit -1
but the -1 doesn't really "take"...IIS keeps it at 4294967295.
Setting it to 0 does "take", but then IIS returns nothing (0 bytes).
How do I disable or workaround this security feature in IIS which is not allowing people to download large files?
I currently need to allow users to download a series of Excel files from the intranet which were generated individually using ASP. Rather than have them click one link at a time to download only one file, I want to find out if it is possible to let them download the whole series of files with one link click.
The users are all on the LAN so bandwidth is not an issue. Furthermore, the total size of all the files is only 100kb.
Is there a way for asp to know what url is in the address window? I have a function that is included in every one of my pages and I want it to write out different things depending on the page the visitor is on.
View Replies View RelatedCan anyone tell me how to detect a ip address behind a router?
I know that using ASP, we can detect the actual ip and the proxy ip, but what if the visitor is using a router that dynamically assigns a ip.
I am using a stored procedure that outputs multiple recordsets.
I use <% SET rsDisplay = rsDisplay.NextRecordset() %to step to the
next recordset.
In one particular condition the final recordset is not passed to the
page, so I need to detect that the object is empty.
I did just try <% If NOT rsDisplay.EOF Then %but I get:
Microsoft VBScript runtime error '800a01a8'
Object required
Any ideas how I can trap this error? I just want the area on the ASP
page not to display when there isn't a final recordset.
What I need is a field that is a drop down and when selected if less than four it needs to show a new field to select.
Once the total of the drop downs adds up to 4 or above then no more are created. This would be in the middle of a bigger form. Code:
I'm working on an app to upload pictures to my Web page.
As part of it, I need to know the dimensions of the
images - how many pixels wide by how many pixels high. Is
there any way, as part of the upload or immediately after,
that I can detect that?
Also, though the solution isn't exactly appropriate to
this NG, I would also accept a client-side solution to
this problem.
Normally I would do something like
if request.form("submitbutton.x") <"" then
....
end if
But I found a problem when the browser uses the 'alt text' instead of
the image (when the image is not found, or if the browser is not
displaying graphics, etc. How do you detect that? or should I?
Does any one know how to detect if a user is using IE on a Mac so i can route them to another page.I have tried the following:Code:
strUA = Request.ServerVariables("HTTP_USER_AGENT")
But how do i parse this info to determine whether they are a MAC IE user ?
I am working with a bunch of old code so I can really restructure the includes, otherwise I guess I could change all the #include statements to #include-once. Anyway, If I have a file with a class like this:
Class myClass
end class
I get a "name redefined" error. I've been seeing these and indeed from goolge searches, it's because the file is somehow included more than once. This problem doesn't occur for functions and the old code bases just used functions whereas I would like to add some classes. In C you used to be able to detect that at the top of the file and not included the rest of the file if it is allready included. I just want to at least detect it so I don't redeclare the class.
How can I get the url of a page in asp and detect if there are no variables appended to the end? Would I somehow get the address and do an instr for the ? character? Code:
View Replies View RelatedCould anyone show me a tutorial or like show me a script in asp that can detect to see if the mysql backend is working? And if it isn't then to display a message that says something like "out of luck."
View Replies View RelatedIs there any way to detect JavaScript using ASP? I need a script that does something like this:
If JavaScript is enabled (is supported)
write this code
else
write this code
If not, can I do it with any other language?
Is there a way whereby i can detect where the user came from?
For example:
if this user came from www.mywebsite.com/a.asp theni will redirect him to c.asp but if he came from www.mywebsite.com/b.asp then i will redirect him to d.asp
I need to add in some specific browser detection in my ASP to identify Mac IE5 running OSX - is there any wahy of identifying this config alone - and not just identifying all Mac IE5s? If you have OSX Mac IE 5, please visit this page which will give your User Agent string.
View Replies View RelatedThe delete method of the FileSystemObject.FileObject does not return a result. If permissions disallow deletion, it will not raise an error. Conversely, if the delete method does succeed, a call to FileExists directly afterward may return true because the system hasn't updated yet (or whatever actually goes on). Is there any way to accurately check the result of a deletion?
View Replies View RelatedI searched around everywhere on the net, but could not find a simple example
of detecting if cookies are enabled - on server side, and without moving
from one page to another.
This should be a very basic functionality, so I am reluctant to believe that
there's no way to simply test it in a server-side script.
I've been working on this wysiwyg web editor. The editor lets you upload images. Only .jpg, .gif and .png files are allowed. Now I should be able to detect if the uploaded .jpg image is in RGB or CMYK mode. Only RGB images should be allowed. Can this be done with ASP?
View Replies View RelatedI need an asp page that will detect the clients java version, and then email the results automatically.
View Replies View RelatedI'm trying to write an ASP interface that mimiks a .Net datagrid control.
I'm having a problem when I'm in the middle of an Edit, Update, or a New
Record.
If the user hits the wrong button, the program grabs the values in
the textboxes using the request.form() and then redisplays them in the
textboxes when the records table gets written back out to the page. This
works fine as long as the form is submitted.
If it's just a page refresh
(F5), the program doesn't get the latest changes to the textboxes and
displays either a blank or whatever was in there the last time the form was
submitted. Anybody got any ideas?
Im writting an asp app that tracks the users scores and info (its a
training app) to a access database, ive disabled the ie toolbars and
everthing so the user must use my nav buttons so i can track what pages
they have been to.
My problem is if the user closes IE with the close button [X], is there a
way i can redirect them to my close database and save results page, i cant
use the unload event as this is trggered every time the use goes to the
next page.