473,378 Members | 1,134 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

HTML code to browse and attach files

Can someone guide how to code in simple HTML, how to browse the files and attach them. That is, when I click a button say "Attach", a window should be opened with which one can browse the files in one's machine and attach them.

I tried to search for the HTML code to accomplish this in Google, but couldnt find any.

Lots of thanks in advance,
Rama
Jun 18 '07 #1
5 17199
JUst found that we can use the HTML <input> tag <input type="file" name="datafile">.

Can someone tell me, using servlets, how this can be received and saved on the server side?
Jun 18 '07 #2
drhowarddrfine
7,435 Expert 4TB
You must ask that question in the appropriate programming board.
Jun 18 '07 #3
can any one give the code for <input type ="file"> behavior in the link
Oct 19 '07 #4
are you searching for this
[HTML]<input type="file" name="file" id="file">[/HTML]

can any one give the code for <input type ="file"> behavior in the link
Oct 19 '07 #5
JamieHowarth0
533 Expert 512MB
Hi rrkrishna,

That question needs to be directed to the ASP, PHP, or ColdFusion boards (depending on a few different criteria - what your server supports, what operating system it runs, and what you want done with the file e.g. stored in a database or file system, and how you want it manipulated).

If you have a Microsoft Windows server then ask your question in the ASP forum and we'll try and help you out.

Best regards,

medicineworker
Oct 19 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: MK | last post by:
Dear friends, I have many HTML files and they all have some common HTML code which is basically bunch of tags which are in all the files. How can I put the common code in one file and then share...
1
by: vijaygparikh | last post by:
HI i am writting a code for open default mail client and it works fine. i want to attach a file with the default mail client but file is not attached with "mailto:" option. If any one has idea...
0
by: morty | last post by:
Hi All, I am wondering if anyone knows of an online search tool (or software to download) that can do the following? I need to search all html files in a web site directory (live on the Net) to...
1
by: kevcar40 | last post by:
i have a form that i want to attach files to as hyperlinks the problem is there could be upto 10 files attached to the form or maybe none How can i go about 1 creating the attachements and...
1
by: cnixuser | last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text...
3
by: Gubby | last post by:
Hi all. I'm a fairly basic HTML worker, don't know any other language. This is my site: www.andrewgubb.com. A simple text-and-images site, like a blog I suppose except that I'm having more fun doing...
0
by: atlanteavila | last post by:
Can someone help me with the following code? I need help knowing if we can attach files to the code below. If so, how? Private Sub Command6_Click() Dim subject As String, Body As String, Email As...
4
by: zamb | last post by:
am trying to do php mailing list but i have failed to attach files to it so that i can be able to send them as attachments with the message of the mail just like yahoo does. and my script for sending...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.