Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Download Multiple files from CGI Site.

Posted on 1999-06-26
1
Medium Priority
?
251 Views
Last Modified: 2013-12-25
What is CGI, and how can I download Multiple files from a CGI site? I have been using GETRIGHT to download with, because it supports multiple files and RESUMEING. Is there any way to do this on a CGI site? Or any other program that can do it.
0
Comment
Question by:quillos
[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
1 Comment
 
LVL 2

Accepted Solution

by:
stam061398 earned 600 total points
ID: 1834762
> What is CGI

Well, CGI stands for Common Gateway Interface.
CGI is a program which runs at the web server, and it`s output is sent to your browser. Thus, it`s output may be html file, picture, and anything you may think of.
Some CGIs actually gives output which is files to d/l.

CGIs may be found at every normal site (depends on the configuration of the site).
In order to run a CGI you must know it`s url (as with any html file you want to get).
Normally, CGIs get parameters, which the user may fill in a screen he gets.

There are two methods to pass the parameters :
1. POST - the parameters are passed by the browser to the web-server, and they are not shown anywhere.
2. GET - the parameters are passed by "sticking" to the url of the CGI.
i.e.  :
http://search.yahoo.com/bin/search?p=stam
is a url which calls the cgi named search on search.yahoo.com/bin, and the parameter it gets is "p" with the value of "stam".

The CGI shall know how it gets the parameters (which methood is used), and so he handles them.
Some CGIs may handle the two methods with no problem.

In order to use GetRight to d/l the output of the cgi, you must know that the CGI can get the parameters in the GET method, and you must know the parameters to pass and the right value to give them.

You can not d/l the CGI itself, because it is invisible to the world. You can only d/l the output of it.

So, let`s say you want to d/l the output of
http://search.yahoo.com/bin/search?p=ofer using GetRight, you shall enter this url to GetRightb and let it d/l the output (which is a simple HTML file in this case).

Good luck,
Stam.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
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 …

670 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