We accept safe and secure Credit Card and PayPal Payments!
 
Perl Scripts

All Count
Attachment Mailer
Build A FAQ Plus
Clock In Center
eBackup Automated
Easy Poll
eSurvey
Fetch a File
Form Maker
Mailing List Server
MySQL Mate
PDF Creation
QCart
Quick Fix
Speed Search
Task Manager
Traffic Pack
Upload Plus
Upload Gold
Upload Pro
Website Manager

 
Free Perl Downloads

Main Page
404 Alerter
AccessLog Viewer
Build A FAQ
eBackup
ErrorLog Viewer
eVars - Server Info
HT Pass Creator
Upload Lite
Website Manager

 
JavaScripts

Alert Boxes
Browser Sniffer
Check email
Generators
Sudoku
Window Maker
More...

 
Extra Utilities

Ascii Codes
Color Picker
Font Finder
HT Pass Creator
Meta Cloak
Meta Magic
Pano Zooms
SlideShow
Server Size

 
Online Tutorials

Glossary
HTML
JavaScript
MySQL
SSI
Build Traffic
Other

 
Miscellaneous

About Us
Graphics
Testimonials
Installations
Latest versions

 
Flash poll

Does your Website use Flash?






View all Polls

Purchase Easy Poll for your site, only $29

Run Surveys on your site. Click here
 
Global Warming

Your energy bills doubled in exchange for clean energy such as wind and solar power?






View all Polls

Run Polls on your site. Click here

Run Surveys on your site. Click here
 
  Store   Download   FAQs   Contact Us   Support   Custom Programming   Policies
Client file management, client and admin login File sharing system with optional automated .ht protection and member registration

Printer Friendly

Fetch a File     List of Categories

  1. What can I use this script for?

  2. What should I enter as the path for my download folder?

  3. Can I call the list of files using SSI?

  4. My links in the Public form are showing my server path, why?

  5. Can I add create my own form with extra fields?






  1. What can I use this script for?

    Fetch a File was written to allow you to grant your web site visitors access to a specified directory on your server. They can then select any number of files from said directory and e-mail the files to themselves or anyone else.

    Built in security features ensure only the directory you specify in the admin settings may be accessed. You can also password protect the script.

    This script is great for allowing your visitors to download a file or files you offer.

    Top of Page



  2. What should I enter as the path for my download folder?

    You can make only one directory publicly available (and all of it's sub directories). You then specify the file types allowed to be downloaded from those directories.

    In the admin section, click on "Settings" then scroll down to "Default Folder". Enter your server's absolute path to (and including) the folder which will be publicly available. E.g.

    /home/username/htdocs/downloads

    If you'd like all files within the directory(s) to be made available, enter "ALL" in uppercase in the Setting titled "File types to display".

    Top of Page



  3. Can I call the list of files using SSI?

    Yes, if your server supports SSI, you can point your SSI tag to fetch_list.cgi. The script will return a table which lists your defined directory and a list of available files.

    <!--#exec cgi="/cgi-bin/fetch_list.cgi" -->

    Top of Page



  4. My links in the Public form are showing my server path, why?

    This is because the script could not correctly resolve the URL to the files. You can correct this by editing the fetch_key.cgi file and adding the extraneous path to the $DefaultHTML variable. What you enter will be removed from the URL displayed on your file listing.

    Top of Page



  5. Can I add create my own form with extra fields?

    Yes, you can do this by viewing the source code generated by the fetch.cgi script. Copy it to your own HTML document. If you're on a Unix/Linux server or any server that lets you use SSI, you can then use an SSI tag to generate the list on the fly. E.g.

    <!--#exec cgi="/cgi-bin/fetch_list.cgi" -->

    If your server does not support SSI tags, you can still create your own form, however the list of files will need to be updated by hand if it changes.

    In your custom HTML document, add as many form fields as you like, then add them as markers in the Admin notification template in the Admin Settings. E.g. in your form, you might add :

    <input type="text" name="Age">

    then in your notification template you'd use :

    Customer's Age : %%%Age%%%

    You may add as many fields as you like.

    Top of Page



Was this page helpful?    
Speed Search our site

Search script for your site
Xizzo : PC Password Manager
Linux Hosting Plans from $9.12 per month, includes Plesk Control Panel, MySQL databases, cgi-bin, crontab manager and 50 email accounts.
Plesk Hosting
Linux servers with Plesk Control Panel, cgi-bin, crontab manager, Mysql, PHP and ASP.

Discounted Scripts
Subscribe to our periodial newsletter to receive special offers.

Global Warming
Your energy bills doubled in exchange for clean energy such as wind and solar power?






View all Polls

Run Polls on your site. Click here
About us | Contact us | Script FAQs | Script Support | Website Hosting | Our Policies | Store | Testimonials
Subscribe to our periodical newsletter and receive notifications of Perl Script updates, new CGI Script releases and Special discounted offers. Existing Subscribers log in here.    
HTML Plain text
©1999 - 2007 All content Copyright PerlScriptsJavaScripts.com Proudly hosted by LinuxHostingPlans.com