Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 29th, 2004, 10:00 AM
Authorized User
 
Join Date: Nov 2003
Location: , , United Kingdom.
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default <input type="File"> - Specify File Type and Path

I am programming with ASP.NET, and need to be able to upload a file. Does anyone know if it is possible to specify i) The file type, ii) The path, when using the HTML input control (type="file")

Many Thanks

  #2 (permalink)  
Old August 2nd, 2004, 01:28 AM
Authorized User
 
Join Date: Jun 2003
Location: Melbourne, Victoria, Australia.
Posts: 90
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to tdaustin Send a message via Yahoo to tdaustin
Default

When uploading files use a component of some sort. This will give you full control of what file type, and where you place it on the host.

Eg a good component i use is aspSmartUpload its free and easy to use.

Download from http://www.aspsmart.com/ comes with heaps of examples

Good luck

TDA
  #3 (permalink)  
Old August 2nd, 2004, 03:07 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Mentiri, Muara, Brunei.
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

hi,

  Using ASPSmartUpload control u can specify the denied file list, allowed files list, size of file size etc.




Similar Threads
Thread Thread Starter Forum Replies Last Post
input type="file" grstad Classic ASP Basics 24 January 31st, 2007 07:28 PM
INPUT type=file (Urget Help) surendran PHP How-To 1 April 9th, 2006 12:42 PM
how can i restore <input type="hidden"> 's value ? yamunchien ASP.NET 1.0 and 1.1 Basics 4 March 18th, 2006 08:45 PM
input type file darkhalf Javascript 1 October 29th, 2005 02:17 AM
<INPUT type="file" (why does style not work) mat41 HTML Code Clinic 7 September 19th, 2004 02:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.