Classic asp file download script


















This allows for verification of passwords, and logging of data afterwards. It is possible to check whether the file was completely downloaded or cancelled before completion. An access code generation function is included to be able to generate an access code "on the fly", and then verify it later.

Some useful file utilities are included for ease of use, including a single command to append a line to a text file. There is also a command for taking a file from a remote server, and either saving it or streaming it to the browser. Read the online manual for full details. There are some limitations to be aware of. There can be inconsistencies between browsers that receive the download and it is not always possible to specify the browser behaviour from a server side script.

Instead, the email will be written to the screen, with no redirection to the thanks page specified by the "redirect" field. This should be used to test the form and the email templates to make sure you are happy with the results. Make sure that the form points to the sendmail. The included zip file contains a sample form with validation, a sample email template, thanks page and of course, the script.

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

Sign in Email. Forgot your password? Search within: Articles Quick Answers Messages. Tagged as Win2K. Stats Nathan Ridley Rate me:. Please Sign up or sign in to vote. This script allows you to email the contents of an HTML form to one or more specified addresses.

It supports HTML emails, plain text emails, and preformatted email templates. Download source code and sample files - 6. An HTML page with a form that needs to be emailed making sure certain required hidden fields are included. A thanks page to redirect to when the mail send is complete.

An optional email template to define how the form contents should be formatted in the email that is sent. The fields that the sendmail script understands are: redirect - required The URL to redirect to when the mail has been sent. The subject line of the email. History 18 th November, Article posted. It also has a feature to hide email addresses from the hidden fields if desired. Just open the ASP file for a detailed explanation. A list of licenses authors might use can be found here.

Nathan Ridley Web Developer. Web application developer, graphic designer, aspiring entrepreneur, snowboarder and electronic music afficianado. Manoj Kumar Choubey Apr Ajay Kale New Oct Roy Ritchie Jul Nathan Ridley Aug Desmond chee Aug Noughty 2-Aug Nathan Ridley May Are you a skilled ASP.

Net programmer or web designer and would like to help bring the best new ASP. Net community? Please contact me and let me know. Copy Code. Chee Shai Choon 3-Apr Go to top. Layout: fixed fluid. Web Developer. First Prev Next. Error when submit from non IE browser infogmt May Hi Guys, Do you have any issue when submitting the form under chrome, safari or android phone?

I have issue with an error IE is working fine. Let me know. See more: ASP. Posted Jan am Nilesh Patil Pune. Add a Solution. Top Rated Most Recent. Accept Solution Reject Solution. Posted Jan am Prerak Patel. Copy Code. Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use. Do you need your password?

Submit your solution!



0コメント

  • 1000 / 1000