?
Solved

Upload files

Posted on 1998-08-05
7
Medium Priority
?
163 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
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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month16 days, 1 hour left to enroll

850 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