Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

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.
0
mikkon
Asked:
mikkon
1 Solution
 
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
 
MasseyMCommented:
There you go.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now