Solved

Uploading files

Posted on 1998-10-07
2
159 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…

932 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

12 Experts available now in Live!

Get 1:1 Help Now