I am unable to download zip files from IE browser. Everytime I click on the download button, instead of prompting me to save the file, Internet Explorer opens the zip folder instead.
I think this is because I have previously instructed IE to open zip files without prompting (there was a check box to do this). Is there any way I can revert to the original settings?
I have tried resetting my Web settings, as well as setting the Security level in the Internet Options, but to no avail. I am totally unable to download zip files using IE now.
How to set the default value so that IE prompts me to download the files than opening it in some location.
I'm having trouble with my first IIS6.0 on Windows Server 2003.
The web site works fine: all ASP pages are processed and displayed normally. The problem is we are not able to download any files from the site (pdf, zip, doc, ...) When you click on a link pointing to one of these files (or if you write the file's absolute URL in the address bar of IE) you get the normal Open or Save as dialog. Whichever option you choose, the next window is an error message stating that the file cannot be downloaded. The strange part is that everything else is working fine, it is file download what fails, exclusively.
Is this something that needs to be enabled in IIS6.0? Do you know anything about this issue?
I recently built an application using an Access database. The application works fine, but for some reason I am unable to FTP the database file back to my machine from the server... the operation simply times out halfway into the transfer.
Has anyone ever encountered this issue? I don't know if maybe some renegade connection wasn't closed, but I kinda doubt that's the case.
Is there even a way I can check what connections to the DB are open?
IIS cannot read files in a directory reporting that :
Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'Fso.GetFolder'
This has to do with Scripting.FileSystemObject. I make sure the scrrun.dll is properly registered with regsvr32. Still the problem persists.
Previously I do not know what I did right once in permission setting and managed to display the said files but it went away after tweaking the permission for make other functions available.
I scoured the web and this problem is a perrenial one. Many many suggestions have been made even in expertsexchange site but no real solution. I don't understand why it is so difficult to have this file system service up and running.
I want to make a support-page where people can download the latest help-files (these will be in a database) but I don't know how to do this (I only know the basics of ASP). I don't mean that, for example a pdf, should open in another window. When you click on the filename it should give the standard downoad-box 'Open', 'Save', 'Cancel'.
Does anyone know how to do this? Or maybe there is some code on the net that explains it.
I have to do something like this that a user see list of record if he would find record and want to download that list then a button should be available on page so that he could download that list in a pdf file of that record.
I'm trying to force a file download using ASP but not getting very far... I want the browser to send .pdf files to the user rather than trying to open them within IE (or wotever browser). Does anyone know what code I should use for this?
I am creating a series of downloadable articles, career tools, spreadsheets, etc. However, some of the content is for "registered" guest. The registrants are stored in a database and logon.
I want to ensure that someone registered cannot simply pass someone the path to the files for download. However, I am not creating an actual system user name for the folders where the various documents exist.
I don't want someone to logon, retrieve the path to a file, and be able to send that path or return to that path without having to logon.
How do I accomplish this?
Consider the following: serverroot/registeredcontentfolders would be protected by a single logon name - not accessible via anonymous access. User's logon to site and I auth them with their user name but on the server side, auth with the single account I am establishing for access to the protected folders.
I have excel, word, zip, jpeg etc. files in my database. I can view them by asp from web page but I have problems: When I Request a file from database: 1. I click on the file it brings me the message if I want to open or download the file. Content-type works but file name cannot be recognized. It gives always the same name for the file. Example: I click cv.doc file, in popup message "download or open" File Name part is always file.asp It should show cv.doc at file name section. What is the code for it ? Below what I use but missing I guess. This is how I request the file.. <% rs.Open "Select * From Files Where Id=" Request.QueryString("Id" ) , connStr, 1, 3 Request.ContentType = rs("FileType" ) Request.BinaryWrite rs("FileBinary" ) %>
I am allowing user to download files from our site. I have set
<% Server.ScriptTimeout = 1200 %>
Still user get server time out error. I want it should not discontinue user ,i mean allow user to download till the end . what to do? what is the harm in it?
I have lots of files and i need to download them using an easy way. I only cany think how to getting the files , file by file. is it a quiker way to to this like downloading a foler o compressing them and downalod the compressed file?
The below code forces a prompt to the user to open or save the .pdf file file to their local machine. It seems to work great except I have one user who can not open any .pdfs using this prompting method. He gets an error that says "File could not be found". However, if we choose the 'save' option instead, we can save the file to his local machine. He can open .pdf files from normal links to .pdf files. It's just this prompting method that is causing a problem. So, I'm perplexed.
I did some digging and found that there is also an FSO (File System Object) method (which may or may not solve my problem), but I'm not sure how to impliment the FSO or if that will even help me with this.
Set adoStream = Server.CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1
adoStream.LoadFromFile(thePath)
Response.BinaryWrite adoStream.Read()
adoStream.Close
Set adoStream = Nothing
Response.End
This works fine for 250KB - 500KB PDF files, but I've just uploaded a 6MB file and it simply doesn't seem to do anything. The code does nothing which in turn means that the standard Save dialogue box can't find the file.
I want to know if there is a way to check that a file for download is downloaded completely or not. (for example i want to give permission to each user download a file just for once. but if there connection get disconnected they allow to download as much as they want until they download it completely). is there any way to understand that?
Is there a way where an end user can download multiple files with one click?
I have a database table that can return between 1 and 12 different filenames (JPGs). I'd like to have a single button on the page that will initiate the download of all of them simultaneously. Is this possible?
i would like to display the files in my database...and create a link for it...then when the user click on the link,they'll immediately see the download doalog box instead of the file's contents...currently im only having a coding which will pop-up the download dialog box...
We have a WEB-based application (developed in Visual Studio 2005) running on handheld devices in Internet Explorer on Windows Mobile 2003. The application needs to print tickets on a Bluetooth printer, which is accomplished by preparing a RTF-file on the server and then downloading this file to the handheld device. We use a third-party application (PrintPocketCE from FieldSoftware) for the actual printing of the downloaded file. However, when the file is about to be downloaded we first get a question saying "Download <filename> to the My Documents folder in Main Memory?" with Yes, Change and Cancel buttons.
Is there a way to avoid this question and download the file directly? We need the checkbox "Open file after download" to be checked (as it is by default when the question is displayed) to get the file processed by PrintPocketCE after download.
To avoid adding file by file to the handheld device we always use the same filename for the downloaded file. This leads to another question on each download, asking whether to overwrite the previously downloaded file. Since the file has no interest after being printed this question is always answered with Yes. Is there a way to avoid this question too, for example by setting some Registry value?
I am using file system object to read an xls file in the webserver , the file is located in the webserver I: ( which is map drive of the webserver ) , when i have tested the script in my local pc , where i kept the file in D: ( local drive in my pc ) it wokred fine , but when i tried in webserver it says path not found ( the web server is Windwos NT based )
this is the path which i am using in a script "I:" & "" & 123456 & "my folder"
what i found that if i use only I:123456 it is able to reach to that folder , but after that its unable but if i rename "my folder" to "myfolder" it reaches that means not able to read the spaces in folder name
Prob is after setting up the IIS on XP Pro, I'm unable to run asp.net applications. I get the message: " The web server is not running ASP.NET 1.1" each time i try to create asp.net application using .net 2003. I know the prob is due to config on IIS. but don't know how.
I am trying to change text in the div tags of my page with values from an object obtained from a server side script but the object is not accessable to the client script. I get an object required error but I know the object exists and is correct becuase I can write the query string value and properties of the object with a server script. I also tried to access the div tags from the server script but this also resulted in an object required error.
I've published my database using Frontpage and inserted a result query on a ASP page and I get the following error.
Database Results Error [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x3cc Thread 0x4f8 DBC 0x13d50024 Jet'.
I am currently facing some difficulties in accessing my web page. I am creating my company intranet website. Currently, I am developing my webpages in my local machine with IIS activated. When i run the website from my local machine's IE by typing //<computer name> my webpage displayed.
However when I do the same thing from another machine in the network, I got the error "The page cannot be displayed".
I have a file in a top level directory called inc_protect.asp. I'm trying to include that file in a page called tree.asp. The code to include the file is
The server returns an error saying that the file is not found. Anyone have any suggestions on this? All files are asp script. The tree.asp is in a folder called SupServ directly below inc_protect.asp... Can these not go backwards?