Solved

Uploading files

Posted on 1998-10-07
2
156 Views
Last Modified: 2013-12-25
I need a way to allow a user to pick a file using the "file" input on a web page and to have it sent to the server, prefferably accessable via an ASP page, in a form that can be saved. I am running PWS on Win 98. Is this possible?
0
Comment
Question by:sunstorm
2 Comments
 
LVL 1

Accepted Solution

by:
slinky earned 100 total points
Comment Utility
This form will mail an uploaded file..
<form name="form" method="post" action="mailto:email@email?SUBJECT=submission" enctype="multipart/form-data" onSubmit="return validate_form()">
<input TYPE="file" NAME="UPLOAD" size="60"><br>
<input TYPE="submit" NAME="submit" VALUE="Submit">
<input TYPE="reset" VALUE=" Clear ">

This assumes you have a Javascript function to validate input but you might not need that.
0
 
LVL 28

Expert Comment

by:sybe
Comment Utility
Uploading files through ASP is possible, but you need to install a server-side module. There are several modules available. I prefer SA-FileUp from SoftArtisans. Especially because it supports direct transfer of uploaded files into a database. I am not sure if it works on Win98 though. It works on NT4.0, it does not work on Win95.

You can get a demo at their website (www.softartisans.com).

If you want a solution that does not cost you money, you'll have to turn to Perl. It is free (www.activestate.com), and there are easy scripts available to handle file-upload. I can give you a sample code if you want.

You can also take perl into ASP, using Perlscript (install perlscript, also from www.activestate.com). I have tried something out with that, and it works great. Haven't tried fileupload though.

0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now