SUBE TU MISMO LOS ARCHIVOS

Installation Instructions:

  • You have to install 3 files which are "uploader.cgi", "cgi-lib2.pl" and "uploader.html".
  • Modify line 1 of both "uploader.cgi" and "cgi-lib2.pl" to reflect the correct location of Perl in your server.
  • Adjust the value of the parameters defined in the header of the "uploader.cgi" script.
  • Copy "uploader.cgi" to your cgi-bin directory.
  • Copy "cgi-lib2.pl" to the same cgi directory as your "uploader.cgi" program.
  • Use Unix command "chmod" to set the modes of these 2 files to 0755 (executable). Example: "chmod 0755 uploader.cgi".
  • Modify the <FORM ...> statements in "uploader.html" to reflect the correct location of "uploader.cgi" program in your server.
  • Adjust the value of the <input name="maxfilesize" ...> statement to meet your own needs. This defines the maximum file size you can upload. You must not change or remove any other FORM statements.
  • Copy "uploader.html" to your Html directory.


File Uploader

  This program will upload any ASCII and binary files into an upload directory on your Web server. If the file directory is not already cataloged, this software will create it for you.
Upload Directory Name:
Enter the name of your upload directory. Alphanumeric characters only. See note 1 below.
Source File: Press the "Browse" button to select the file to be uploaded.
Supervisor Password:
See note 3 below.
 


List Filenames

  This program will list the names of all files in the upload directory.
Directory Name:
Enter the name of the directory to be listed. See note 1 below.
Supervisor Password:
See note 3 below.
 


Note 1:
  • This name will be concatenated with the value defined by "$parent_dir" in the "uploader.cgi" script to generate the full directory pathname in your server.
  • If "filedirname" = "abc" and "$parent_dir" = "/home/html/uploader/", then the full directory pathname is "/home/html/uploader/abc/".
  • You can replace this "filedirname" statement by <input type="hidden" name="filedirname" value="anyDirName"> if you don't want to let users specifying the directory name.

Note 2:

  • If the <input name="destn_filename"> form statement is removed or the input box of this field is left blank, the source filename will be used as the destination filename.

Note 3:

  • Supervisor password is defined in the "uploader.cgi" script. Please set it up with alphanumeric characters.


Related Software:


Don't forget to take a look at our affordable, flexible and easy-to-install
Web database CGI scripts and add ons.
BizDB | WebLinks | ImageDB | ImageDB for Members | JSCart | Website Generator | Home

©2001 - All rights reserved. CNC Technology.