I'm afraid you can't get an HTTP client to retrieve the source files in a /cgi-bin/ directory. You see, the webserver treats files there in a special manner -- it attempts to execute these files and return their output, rather than the file itself.
Since that behavior is a function of the web server daemon, and not the client software, nothing you do on the client side can "trick" the webserver into returning the source files.
Instead, as gellyfish and xorl have pointed out, you need to attach to the server in an authenticated way -- via your FTP or SCP account -- and download them. Of course, if you do not own the server account in question, you are still left without a solution.
If there are some scripts you'd like to see the source of on a web site you do not control, try mailing the web master. Unless the site code is particularly sensitive (e.g. e-commerce, etc.), there is a good chance the web master will be willing to share.
In reply to Re: to retrieve content of cgi-bin folder
by radiantmatrix
in thread to retrieve content of cgi-bin folder
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |