I have a link on my site so you can download a file. Seems to work fine except when the file is a little large:
the save dialog box appears but the name of the file it says it is going to donload changes with all sorts of things like &'s and %.Finally if you hit save anyway it just hangs.
Is there a way where I can prevent people from downloading a file using a direct link (or bookmarked) (i.e. http://www.myfile.com/file.csv)? I want my user to log in with their email address so I can keep track of who downloads my files and when.
I already wrote a filedownload.asp file already which tracks and logs users who downloads the file. But I made a mistake in giving out the direct links to people already. So now people are using that direct link which bypasses filedownload.asp file. If there are any techniques on doing this.
Does anyone know how to hide and show a link depending on the level of the user. Like I want the link to show if the person loging in is an admin, but if the person is a user than I dont want the link to show?
Having a problem getting my asp url to work. Im trying to pass a var and some of them have the & in them. This is breaking my url since it looks for another var with the &. If i put the %26 instead of the & manually it works fine. How do I get that to encode that on the link ?
I know the problem is the data that is in the heading field has & in them. I can not fix that part. Is there a way to force the & in the url to go to %26 ? Code:
I am trying to download files from one website to another for purposes of caching. In trying to do this, I created a VB dll component (using VB6), that used URLDownloadToFile, to allow me to download the file onto the receiving site. The sending site supports an ASP page that allows the file to be downloaded.The component works fine when run in debugging mode, placing the file as expected. But when not debugging (but registered), it reports that the file has been downloaded, but the file is not there.
I am looking for some VB Script tutorials possibly as a pdf file that one can download and take print out of as one single file. I can see a lot of VB Script tutorials on the net but not offered as a single PDF file all in html format and explained on different pages.
where I can download PWS Personal Web Server,or IIS from,ideally for as little cost as possible?I have XP Pro, but I've tried typing "inetmgr" in the Run field in Start Menu but it says it can't find inetmgr,and there is no IIS or PWS in my Program menus or submenus on my machine that I can see.
I had heard my XP Pro may have come with IIS but this doesn't seem to be the case with my pc. I have IIS on my server at work which has Windows 2000.Is it possible to copy an .exe install application of somekind which would be used to install IIS on another machine? What would the .exe file be called and where would it be located?
I have created a script which connects to a SQL DB, runs a query, writes the results out to a file (Using FSO) then presents the user with a link to download the CSV. As the file contains sensitive data, I dont want to leave the file on the server, and I dont want to rely on the user to delete the file after every export.
Looking for download asp script or java script for my zip files but without user know the location of the file/folder and can only log to this page from my authorized page.
To secure files on a site with authentication we have put the attachments in a folder outside the IIS web site like this:
D:Documents<ItemID>filename.doc
where ItemID is a number which we use to check permissions inside our application.
In order to download the file from the site we have made a binary reader component (we could probably use SAFileUp or something instead, but this works) to send the file through an ASP-file:
http://mysite/Docs/ShowDoc.asp?ID=<ItemID>
This works well.
So to my problem: If I right click the link to save the file on my local computer (Save target as), it will save the file properly, but the filename in the Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead. Is it possible?
I've heard that on a Apache web server you can write the link like this:
http://mysite/something/filename.doc?ID=<ItemID>
but then the server knows that it's http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is possible in IIS, the Save As-problem will be solved.
I am not sure where to place the ONCLICK code in the hyperlink as this link is written out via response.write......Its all the " " & ' ' that get me ...
I have a database of literature and I've created a search page that pulls up the records matching the search criteria. However, I'd like to create a link to the article in pdf format, if it exists. I have a field in the database that contains the file name (and path), but not all records have a corresponding pdf file. Code:
I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will click on a link and will not be taken to another page, but precessing will occur. This is mainly for a 'Rating' Application. Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in) http://www.amazon.com/exec/obidos/t...5480771-6490552.
(1)I posted this in general but didnt get anywhere. Then I recalled seeing something recently on the web on an ASP site but cannot recall where.
(2)I have a list of pdf files avaiable for the user to view. When they click the pdf link, the pdf file opens. How can I make the link be a 'save' link? ie, when they click the link, windows treats it as a file to 'save as' etc...
What I vaguely recall on the ASP site was: 'How to hide the path of a download file by using an ASP redirect page'. I was wondering if anyone knows this method, and if they do, would it solve my problem in (2)
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example. I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
and my link is <A href='register.asp?ret_page=<% =request("ret_page") %>
But the ret_page appears as /vfolder/Content.asp?ContentID=700. How would I get rid of the /vfolder/ and just have the content.asp?contentID=700 alone.
I am trying to create a link that takes a record ID and opens up a PDF file that is associated with the record ID in the database. The following code works
If you have a webpage with frames, say a footer frame that contains links, how can you get out of the frame if you click on a link in the footer. The it works now, is if I click on a link, the page loads inside the small footer frame. I'd like it to just get rid of the frames completely when I clickon the link. Any clue?
Example, Firstly go to http://www.koolgift.com/index.asp, Select Products button... Choose "Apparels & Towels, Caps & Hats"... then choose "5 & 7panel caps & winter caps"... when you scroll down, you will see the Back link button.. when u click on it..it actually link you back to the previous page... however i will like to link it back to the page where the list of products under "Apparels & Towels, Caps & Hats" is...
this is my current coding for the Back link <td width="766" valign="middle" align="right"> <a href="#" onClick=javascript:history.back(1)> <p align="right"><font color="#FFFFFF">Back</font></a>
How would you go about creating a link on a desktop through an asp page. You know the old trick click here to bookmark this page?. I need to take that a step further, i need a link that when clicked it creates a link on the desktop to that page.
I want to make a button just like here (when posting new thread) to insert hyperlink into text. For example when user is typing text into textarea I would like to have also a button that can enable users to post different links to other intenet pages. And I would also like to have button that makes the text bold (Actually those are buttons that appear on most forums when posting a new thread)
when you click on it to go to the off site the user name and password will be automaticly inserted to where the offsite is asking for the name and password. My company deals with insurance companies and we would like to make it to where when our employees go to our intranet and click on a link to one of our carriers it will have the name and password in place for them. i heard its possible and old company did it but I am having so much trouble trying to figure this out.
why does this 'file download' box pop up when I click a button on my html page? Saying do I want to open or save the asp file? if I click open it opens it in development.
Could anyone tell me what big corporations do for link management? For my site, whenever I want to change a URL, I don't want to because I know there are 10 pages with that link...
But, right now I'm doing a redesign and will be editing every page, so I thought I'd better find out if there's an efficient way to manage my links...
My first thought was to create a page which I include in every page, and this page has all the links for diff pages, like so: