?
Solved

Upload files

Posted on 1998-08-05
7
Medium Priority
?
161 Views
Last Modified: 2013-12-25
I have tried several perl upload scripts and I have the same problem each time. The server IIS 4.0 abort the connection when the files to upload have a size bigger than about 100 Kb. I have ever check the limiter parameters in the cgi-lib.pl and cgi.pm but nothing work. How can I solve this problem ?
0
Comment
Question by:vpietri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Author Comment

by:vpietri
ID: 1831387
Edited text of question
0
 
LVL 28

Expert Comment

by:sybe
ID: 1831388
I found that perl and IIS4 have some problems in cooperating.

The problems I found (and solved) are after upgrading from IIS3 to IIS4:
- perl scripts does not work at all
  solution: in the MMC, find where extensions are associated with external programs and change the perl association to: C:\Perl\bin\perl.exe %s %s. The %s must be in undercase.
- perl scripts that open files to write to don't work (including, but not only for uploaded files)
  solution: installed PerlISAPI (can be downloaded from the perlsite) and changed the registry manually:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Services\W3SVC\Parameters\Script Map

with a string value named .pl

.but it will have a value of :

C:\Perl\bin\PerlIS.dll

.you should edit the value so it's :

C:\Perl\bin\PerlIS.dll %s %s

This enabled perlscripts to write to files.

- Had some problems with NT write rights.

I haven't met your problem yet. Does your script work with small files ??


0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1831389
Dont use PERL... Use something designed for ASP...
0
On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

 

Author Comment

by:vpietri
ID: 1831390
>My script work with small files.

>The perl ISAPI (PerlIS.dll) is already installed, I have changed the registry (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Script Map\.pl C:\perl5\bin\PerlIS.dll %s %s) because this entry didn't existed but there is no change.

> In the MMC, the perl association is: C:\perl5\bin\PerlIS.dll (and nothing else works ..\perl.exe %s %s or ..\PerlIS.dll %s %s)

I really think that the problem comes from IIS 4.0 but I still don't know the solution.

0
 

Author Comment

by:vpietri
ID: 1831391
I can't use ASP because of security problem.
The ASP solution would obliged me to create a FTP site that I don't want.
I prefer use the HTTP protocol to upload files on my server.
0
 
LVL 28

Expert Comment

by:sybe
ID: 1831392
There are some ASP solutions for using the HTTP protocol for file-upload. See for example SA-FileUp from SoftArtisans (http://www.softartisans.com/)

The "problem" is you have to pay for it.
The good thing about this one is that it can even upload into a database (i love that).

Concerning the perl-problem: I'll be trying to find a solution for that soon too. I wonder if I will meet your problem.


0
 

Accepted Solution

by:
foxboy earned 400 total points
ID: 1831393
You could use a script made by Tammy tam

upload cgi program for 95/98/NT WWW-Server.
It is very easy to use it. And this is very useful if you did not have FTP_SERVER, or you don't want to use FTP_SERVER to upload file to your server.The upload v1.0 is your choice, This is a 100% free shareware, you don't need to pay any charge.

I want you will think this useful.

Address: http://macau.ctm.net/~tchnet/upload
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

649 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