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

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

 
Free Perl Downloads

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

 
JavaScripts

Free Java Scripts Alert Boxes
Free JavaScripts Browser Sniffer
Check email
Generators
Slide Show
Sudoku
Window Maker
More...

 
Extra Utilities

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

 
Online Tutorials

Free HTML Scripts Glossary
Free HTML Scripts HTML
JavaScript
MySQL
SSI
Build Traffic
Other

 
Miscellaneous

About Us
Graphics
Testimonials
Installations
Latest versions

 
Hawk Eye in Tennis

Should Hawk Eye replace linesmen and lineswomen at all tennis tournaments?







 
View all Polls

Run Polls on your site

Run your own Surveys

 
Store Download FAQs Contact Us Support Programming Policies  
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
Survey Software
Create unlimited web based surveys on your website from your website

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.

Bathroom Hygiene
How often do you thoroughly clean your bathroom?








View all Polls

Run Polls just like this one on your website!


About us | Contact us | Script FAQs | Script Support | Website Hosting | Our Policies | Store | Testimonials
Subscribers log in here. Subscribe to our periodical newsletter for special offers on commercial scripts, hosting, exciting business opportunities, and industry news and events. Our Mailing List Software is powered by Consolidator    
HTML Plain text
©1999 - 2015 All content Copyright PerlScriptsJavaScripts.com Proudly hosted by LinuxHostingPlans.com