Solved

Uploading files

Posted on 1998-10-07
2
166 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
ID: 1855540
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
ID: 1855541
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

840 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