Library tutorials & articles
Using the SAFileup component
- Introduction
- Using FileUp
- The code
Using FileUp
Features of Fileup
FileUp allows users with a Web browser to transmit files from their local hard disk to a server running Microsoft Internet Information Server (IIS), or to a separate file server which is networked to the Web server. Files can be of any format, such as Word documents, images or plain text.
How it works
The below code is self explanatory. Using a little javascript asp and html you can have this working as per your need. If you look at the code, the FORM tag need the ENCTYPE="MULTIPART/FORM-DATA", which is a very important step. The media-type multipart/form-data follows the rules of all multipart MIME data streams as It is intended for use in returning the data that comes about from filling out a form. In a form each field has a name. Within a given form, the names are unique. Multipart/form-data contains a series of parts. Each part is expected to contain a content-disposition header where the value is "form-data" and a name attribute specifies the field name within the form,
e.g., 'content-disposition: form-data; name="xxxxx"', where xxxxx is
the field name corresponding to that field.
<form ENCTYPE="MULTIPART/FORM-DATA" ACTION="index.asp?uploader=true" METHOD="POST" id="form1" name="form1" onsubmit="javascript:return checkForm();">
...
.......
..........
</form>
Related articles
Related discussion
-
Header and Footer in Web page print
by fhajaj (4 replies)
-
help me to get simple requirement
by Slicksim (1 replies)
-
Gridview -> Template Field -> Button
by antti.simonen (1 replies)
-
Classic ASP : Page expires
by chezhian_in05 (0 replies)
-
ASP VS PHP
by paulfp (9 replies)
Related podcasts
-
ASP.NET Caching and Performance
Steve Smith, owner of ASP Alliance and Lake Quincy Media joins us today to teach us about some hidden gems in ASP.NET caching and performance. Steve’s expertise in this area comes from first-hand experience as Lake Quincy’s ad system serves over 60 requests per second and handles over 150 million...
Related jobs
-
Microsoft .Net Architect
in AMSTERDAM (€50K-€90K per annum) -
Microsoft Dynamics CRM Technical Consultant
in Netherlands (€50K-€90K per annum) -
Technical Support Engineer EMEA
in Reading (£50K-£50K per annum) -
Solutions Engineer
in Reading (£50K-£60K per annum)
Thanks for the help!!!
I'm going to take a look to the sites you recommended.
Regards,
Pedro Röseler
Hello
Javascript is a client side language so u cannot use javascript but server side java could be used but i don't know how
there are heaps of other upload components out there and i there are also some pure asp upload pages out there aswell at planet-source-code.com and at http://www.4guysfromrolla.com/
Can anyone help me finding code to replace the SA fileup component with javascrip code so that i don't have to use that component?
((
The server where i have a site that i build doesn't have that componet so i'm in big trouble!!!
Thanks!
pedro
pedro_roseler@mail.pt
This thread is for discussions of Using the SAFileup component.