Solved

Upload files

Posted on 1998-08-05
7
149 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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 200 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
powershell script to add group member to other group from csv 6 59
exchange 2007, scripts 15 79
Need to Modify a Script I found 5 99
Auto-indent certain lines in Notepad++ 10 75
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

778 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