Wrox Programmer Forums
|
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
 
Old July 25th, 2004, 12:43 PM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to tontos
Default file names (close enough)

Hi there...

I need to build a form that includes a file name (and location), that is, there will be some kind of a form control that enables the user to browse and select the location of a file along with its name. That name, eg "c:\test\file01.doc", in text format, will be stored in a database. I don't want to down/up load the file or open/delete it... just the name of the file

Can someone show me the way to do it ?

I was also looking for a way to have a 2nd list box filled after a selection was made on a 1st list box but found here in the forums a good site : http://www.atgconsulting.com/doublelist.asp.

"Podes dizer-me, por favor, que caminho devo tomar para sair daqui ?", perguntou Alice
"Isso depende muito para onde quiseres ir", respondeu o Gato.
"Não me interessa muito para onde...", disse Alice
"Então não importa qual o caminho que tomas", respondeu o Gato.
 
Old July 25th, 2004, 08:14 PM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 363
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hello,

  You can use File control

<form name="frm1" ENCTYPE="multipart/form-data">
<input type="file" name="txtFileName1">
</form>

When you use FILE control, must specify ENCTYPE as mutipart/form-data


Cheers








Similar Threads
Thread Thread Starter Forum Replies Last Post
Print directory file names in a loop ypomonh XSLT 2 May 14th, 2007 05:47 AM
file names page 664 levelmeasure BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 March 16th, 2006 04:33 PM
using php to check file names fogofogo PHP How-To 0 February 20th, 2006 06:15 AM
reading file names riteshu C++ Programming 3 September 22nd, 2004 05:13 AM
changing Text source file names rjjhome SQL Server DTS 1 August 18th, 2004 02:27 PM





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