HTML - Downloading A File
Hi,
I'm putting up a store that sells downloadable content and am having trouble with the download procedure in the osCommerce system. Under Linux it works great but the host I am using uses Microsoft Server and after about 10 mb or 4 minutes time it runs out of resources and reports the download is complete when it is not. Now I'm looking for an alternative method to download the file without the buyer being able to see the exact URL for the file. If he could see that he would have the opportunity to pass it on to his friends. If dishonest he could just as easily email the file to all his friends but I digress. Using the store's download procedure I can only get 46kps where as I can get in excess of 200kps by entering the URL to the file in the address box at the top of the browser. Ok now I have procedures that will check to make sure the person is logged in and he has downloads available to the file before the procedure will continue so what I need to know is there a way to after the checks are run just do the equivelant of entering the URL at the top of the box without actually allowing the user to see the URL to the file? The store uses PHP to do this and under Linux is extremely fast, but under MS server is slower than crap and never completes. I thank you for reading this, I probably gave more information than was needed, but I would rather err on the side of too much than too little. Bob Similar TutorialsHi, I want visitors to be able to download files (.mp3) from my web site . I've looked through some of the posts on this and some seem to say just use something like: <a href="http://yourdownloadfile.mp3">Download This</a> others mention php. What is the best to use? Do I need php? Thanks Hai I am displaying a list of mp3 files in a html file. I want to provide download option for the mp3 files from the html file. Now i am converting mp3 files to a zip file and then downloading it as below <a href="song.zip"> Download file</a> But i want to download it as an mp3 file itself. please any body guide me to download the mp3 file from the html file. Thanks Sakthi Hi, I'm a photographer and I want to start posting portrait slideshows to my website. What I would like to do is have a simple HTML page with hyperlinks that when you click on the subjects name it will start the download for the slideshow. However, I would like for it to request a password before allowing someone to download the file. It doesn't have to be double super secret secure and is really more for keeping honest people honest. I would just like to have another step the might deter someone from downloading another person's slideshow. Any help with this coding would be greatly appreciated. Thanks! -Pam There are download managers (such as DAP, etc.) which can download parts of files from different mirrors and assemble them on the same pc. Your users will need one of these installed to download the file, or you could send them your own download manager. If using a ready made download manager they'll need to enter the urls of the two mirrors of the file. I was hoping someone could clue me in as to whether or not this would be possible. I'm thinking it isn't but I need to make sure. I'd like to provide a file for people to download on my website, but when they click on the link and the download window appears I don't want them to have the option of opening it. Is it possible to only give them the option to save the file? Sounds incredibly unlikely but I gotta know. Can someone post the code I would use to have a hyperlink on our webpage that would give visitors the option to view or download a pdf? Thanks! I am setting up a website to print free birthday cards. However I am not at all experienced in html. Basically I want the customers to print the cards without downloading the image. I thought I could do this perhaps by loading what I want printed in an iframe (???) The actual page will have the image with a watermark on it, and a printing link that prints the card without the watermark Generally when you click a link to e. g. JPEG image, it is open in browser window. When you click a link to a ZIP file, it is downloaded. Is there a possibility to force a browser downloading e. g. a JPEG image? I'm trying to setup download links on my page. For exsample I have a file on my web server and I want a link that I can click on and it will bring up a download window. Can anyone PLEASE HELP! Hi, Im trying to put .pps or .ppt slideshows on my website but instead of playing the show, it wants to download. I thought they were working right at one point a long while ago, but nooooo...I must have been hallucinating! I would really appreciate any advice. page: http://jdsplace.us/vids/seriousvids/...worldpics.html the slideshow is beautyworldpics.pps code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Beautiful Views of Our World</title> </head> <body background="/background_images/b2.gif"> <a href="/new/lateststuff/lateststuff1.html"><img src="/gif/backblue.gif" border="none"></a> <center> <table border="4" width="60%"> <tr> <td> <center><font size="6"><em><b> Here are some fantastic photos of our world </b></em></font</center> </td> </tr> </table> <br> <font size="4"> Click the Blue button...may take a moment to load </font> <a href="/vids/seriousvids/beautyworldpics.pps"><img src="/gif/button43.gif" border="none"></a> </center> </body> </html> Please follow this link and observe how the page scrolls up after you have been taken there. It scrolls up because, unless you've been here before and have all the images stored on your computer, the images are continually downloaded and they expand the height of the page causing it to expand down and causing your browser to scroll up. Incidentally, the point at which you were supposed to be linked to ends up further down the page. Is there a way of preventing this? Is there a way of getting the browser to stick to the original point on the page where you were linked to? How do I get a sound file to automatically download when a user enters the page after purchsing? Thanks. The following common code is not working in Firefox (3.0.11). It works in Safari (4.02) and IE7. When I say not working, I mean that when I click the submit button, the address does not change to the form processing url: Code: <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="uploader.php" method="POST"> <!-- MAX_FILE_SIZE must precede the file input field --> <input type="hidden" name="MAX_FILE_SIZE" value="30000" /> <!-- Name of input element determines name in $_FILES array --> Send this file: <input name="mp3file" type="file" /> <input type="submit" name="submit" value="Send File" /> </form> The file uploader.php does nothing, it is blank, I'm merely trying to establish communication. Once again, the code functions in IE and Safari so I dont think this is PHP related. I have a project written in ASP.NET under Visual Studio 2005 with C#. I am also using Infragistics objects for .NET Advantage 2007. In my page to attach resources to a record I have written a browser and am displaying previously chosen resources here. But when I click the upload button the page opens a new window (which is not a dialog window, but a normal one) which is exactly the same as my dialog window. How can this possibly happen? Can anyone help me? Hi, Anybody have any idea how to convert a xml file to excel file.Actually i m working on visual studio and using C programming language.I have a xml file in the same directory where my programm is running.When i pressed a icon it will take the xml file automatically and convert to a excel file and show the outpt to the user.How can i achive this goal ??? Any help would be great. Thanks, Basanta Hi ,I am new in html.Hope you can guide me step-by-step on this. I want to import my .txt file into the html form and the html form can add new item then to be add in to that particular .txt file too as well. can this be done? For example: (fruits.txt) 1.apple 2.banana 3.orange Can this fruit.txt be impoted to fruit.html page and show it at fruit.html page, at the same time, the fruit html page allow to add in new fruit, and once user add in new fruit, the fruit.txt file will be updated as well. Thanks for your guidiance and help. :-) I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. hi everybody, I am working in a html. I defined a functiion in a html file.(first.html) I want to call that function in another html file.(second.html) How can i call that function in second.html file? give some sample code Thanks in advance.... Hi guys I want to add some php files into my frontpage html files, please let me know how to do this. I tried many things but fail. Please guide me. Thank you GCS |