Uploading files to IIS 4.0

How can I implement an upload functionality to a IIS 4.0 Web server with basic ASP functionality? I know there are components like SA-FileUP, but I gather that simple uploading can also be done with plain MS-provided tools/components. All I need is a simple way of transferring a binary file to the file system of the IIS server.
LVL 1
mikkonAsked:
Who is Participating?
 
MasseyMConnect With a Mentor Commented:
There you go.
0
 
sybeCommented:
The problem with simple tools is that ASP does not support
ENCTYPE="MULTIPART/FORM-DATA" which is needed for file-upload. MS-SiteServer has a very nice client side ActiveX control for file-upload (drag and drop), but on the server side there is a dll: the form is not posted to an ASP, but to a dll.

The good thing about SA-FileUp is that is can store binaries directly into a database, I haven't seen that anywhere else.

The easiest alternative is perl, there are perl-scripts for file upload available on the web. Forget ASP or use SA-FileUp.

0
 
MasseyMCommented:
post your email and I will send you a CGI-Script written in VB that will allow for uploads.  EMail me at masseym@mrqcorp.com
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
sybeCommented:
The point of Experts Exchange is also that answers are public. I would like it if MasseyM published his answer here.

Sybe
0
 
MasseyMCommented:
I emailed Mikkon a CGI progam that I wrote in Visual Basic.  It is simply a program will take the multi-part information and save it as a file.  I am not sure what else you want me to post.  The code is Copyright © 1999 by M.R.Q. Corp.  My company.  
0
 
sybeCommented:
A url where the program can be downloaded maybe ?
The source code ?
My point is that your answer is not usefull for any one who reads this when it will be a PAQ. So the PAQ is useless.




0
 
MasseyMCommented:
If you would like a copy, please email me at masseym@mrqcorp.com and I will email it to you.  Thanks.

- Matt Massey
0
 
sybeCommented:
thanks
0
 
mikkonAuthor Commented:
Thanks MasseyM! This isn't exactly a "plain MS-provided tool/component", but will probably do.
0
 
esakCommented:
If you are using IIS4 there is no need for another program or asp code.
The only thing you have to do is go to
the adres http://www.microsoft.com/msdownload/webpubwiz/postacc/01000.htm and download
Posting Acceptor v1.0 for Windows NT ,
install it and see the samples in folder
/wwwroot/scripts.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.