Hi, The TYPE=FILE presents a button on the client side browser. The button allows the user browse files on their local machine not the files on you server, it is mainly used for file uploading.
To have the user be able to download a JPG from your server you can simply create a link (<A href...> to the file. the file must be stored in a folder that is accessible (but not searchable) to the internet, usually a folder below you domain root folder. There is are emails in the list archives describing different ways of presenting images (see link below) Hope this helps Ben Johansen - http://www.pcforge.com Authorized WiTango Reseller http://www.pcforge.com/WiTangoGoodies.htm Latest downloads & List Archives @ http://www.witango.ws -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Fogelson, Steve Sent: Wednesday, May 15, 2002 11:29 AM To: R:Base User Group (E-mail) Subject: R:Tango - Downloading files Hi, First project in R:Tango. Again thanks for all the help in the past. I want to give the user the ability to download jpg files to my server within a taf file. My strategy is to store the file name in the database and the actual file in another directory on the server. Later on using a taf search I want to display the image using the file name from the database. In the taf file, I have used the following statement to allow the user to browse his own computer to select the file he wishes to download and this file name is then placed in the input field L_Image. The TYPE=FILE presents a "Browse" button to select a file from the local computer. <INPUT NAME="L_Image" TYPE=FILE SIZE=20 MAXLENGTH=20 VALUE="<@COLUMN "Listings.L_Image">"> I imagine I will have to parse the file string L_Image to be just the file only and then copy the file to the appropriate folder on the web server. Has anyone done this and would have some parsing code to share? Also need some code to copy the file from the local computer to the web server. Appreciate any help or direction. Thanks Steve Fogelson Internet Commerce Solutions ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/ ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
