How To Detect That File Has Been Downloaded On Client Machine
I am working on a web application where i allow users to download text file , the content for this file will be retreived from the database and is passed to the ADODB.stream and is read into Response.binarywrite
I am using the following code which i have got from a forum Code:
I have a web server running on a machine. When the users connect to that machine, it loads the ASP page. The ASP page has a ActiveX control on it and it gets downloaded to the client's machine. I have made the control as a signed control so there is no problem in download.
Likewise, in the virtual directory path on the server, I have one clientsettings.MSI and that needs to be run on the server. Whenever the user tries to connect to the web page, in onload event of the web page, the .MSI file should be installed on the clients machine. For this to happen what all needs to be done ?
i m working on an ecommerce project. as the user click on "buy" button , i charge that customer with the price of that product and then from asp page i redirect it to the page response.redirect.(http://domainname/abc.zip)
now if due to some communication problem , download of this product did not complete successfully ,that customer should not charge for this.how i can know that product has been successfully completed so that i can charge the customer after that.
I'm developing a web page in ASP that can detect client's machine name & windows user name, but can't been able to do so.I'm using VBScript as scripting language. I've used ServerVariables(LOGON_USER) & REMOTE_HOST Also but of no use. Can ny one tell me how to do it. Code:
I know this is actually impossible, but didn't know how else to describe it: I have created a Content Management System for a client using ASP connecting to a Access database. It doesn't do any fancy things: INSERT, UPDATE, etc. I also use ASPUpload to upload images onto the server.
When I test my CMS from my own machine and others, it all works fine. However, testing it from my client's machine, the Updating or Inserting of data ends up returning a 'page not available' error (the asp page calls itself when the form is submitted) and the changes to the database are not being executed.
I really can't figure out why this is happening. Could it be a setting on the client's browser?
The jist of what i want is the obj.FileExists (how it checks for a file on the server) for the client machine.
The client will be scanning something that will put a pdf file into a shared folder on their machine (it will be the same path for all clients). I need to get the code* to pull that file so that i can take the data on the pdf.
*Code doesn't have to be ASP. i'm up for ASP, VBScript, Javascript.
I prompt the user to enter a path where he wants to download a particular file but when the user enters the path on which to download the files, the file gets downloaded on the computer on which asp pages are created not on the users computer. So how to download the file on the machine on which the user runs the site.
im trying to create a intranet site which copies files to the server. im guessing i should use filesystemobject to achieve this but im not sure on how to accompish this.
I have a file download queue consisting of a SQL Server Table holding details of the files in the queue, and a download folder where the actual file resides.
The table is gone through to list for the user all files available for download (ie. all files not marked for deletion). The User selectes one, the file is downloaded using ASP
(ie. required headers are written to the Response object, followed by the file contents - so that the browser initiates the file download process rather than trying to parse/display the file), the sql table is updated to mark the file for deletion (the actual file is deleted by a separate process running on the server), and the list presented to the user is updated. Code:
I am about to begin a web site for a client who wishes the site be in English, German, and Italian. What I am planning on doing is setting up a script in the global asa file that will detect if the users language is set to either it or de and if so, set a session variable to Italian or German, if not, set the session variable to English. In the actual pages themselves, I will use a select or if statement on each section that will have content. The statement's criteria will be the session language variable. I know if I was doing this site for someone who wanted it in 20 languages this may not be practical, but for 3 languages I think I can pull it off. So what's my question you ask? Is my approach sound and practical? If so, can someone show me the snippet of code that would go in my asa file to set the session variable. OH, and also equally important, when this site is spidered by search engines, will Google.com and Google.it and Google.de pick up their respective pages? The spiders have language settings, no? Don't they request pages from a (my) server just like any other request?
I created a VB6 ActiveX control, created the CAB file using "Package & Deployment Wizard", sign the CAB file with Verisign, and copy the CAB file to a website.
I am able to download older CAB files, but recent CAB file that I created I can not download them. It prompts me to download the control, and I said yes to download, but it did not get downloaded. I un-register MSVBVM60.DLL and rename the file, but when downloading the CAB file, it did not prompt me to download the VBRUN60.CAB. What can I check to see whey the control did not get downloaded ?
i have created a page that will enable users download mp3 files that are saved in a folder. All this works fine in Internet explorer, however if i download a mp3 file using firefox, it download the file but without recognizing it as an mp3 file, which automatically makes the file unusable: Code:
I have a need to transfer a graphic file to a user's system and then access that file. I must have the drive letter:path location of the file. If at all possible I'd prefer that this not require user input. (Note that since this is my app and in a corporate network, I have the server in the Trusted Sites zone and every single action is marked "Enabled" in the IE security settings and users will be using IE exclusively.)
It doesn't matter to me how the file gets to the client, save that it get there from IE, and the file is initially retrieved via a url I give the client. I have even looked into reading the file out of the IE temporary files but have had no luck.
we have some exist file at server site.we wants to open it from any client by simple browse or click on file. is tre any tool to do this or any script.
How can i save the textarea(retrieved from DB) data to client system as a textfile. I am using filesystemobject to create a text file with the path
set fso=server.createObject("scripting.filesystemobject") set ctext=fso.createtextfile("c:mydata.txt",true) ctext.close set ctext=nothing set fso=nothing
But it is storing in the server cwebserver c: drive) My users will access simultaneously in my LAN. They use these textfiles to print in DOS mode. Coz it contains large and formated data and to print faster. How can i store the generated output to the client system only instead of server. B'coz the data generated is diff for each user.
How can i save the textarea(retrieved from DB) data to client system as a textfile.I am using filesystemobject to create a text file with the path
set fso=server.createObject("scripting.filesystemobject") set ctext=fso.createtextfile("c:mydata.txt",true) ctext.close set ctext=nothing set fso=nothing
But it is storing in the server cwebserver c: drive) My users will access simultaneously in my LAN. They use these textfiles to print in DOS mode. Coz it contains large and formated data and to print faster. How can i store the generated output to the client system only instead of server. B'coz the data generated is diff for each user.
What I'm trying to do here is have the user select a file of thier local machine (dont know what format to make the file yet, examining this problem b4 development) From that file, certain fields on the page will be populated automatically. The file they will select will have been saved from a visit to a different site I created so no worries about formatting.
But I can't seem to figure out how to do this without actually uploading the file.
To repeat, I just want to examine the file and be done with it. If I can't do this without uploading, then could someone explain how I do that because I've been having trouble finding a source that doesnt want me to buy thier .dll. I find it hard to believe that IE would implement input type=file and IIS would not have it's own method of getting that file.
We have offer a web space to hosting our client website. We offer them to upload asp files to their web space. How can I prevent the client from uploading asp files that will harm our web server.
For example, deleting files in our server using Scripting.FileSystemObject to delete our systemmfiles.