updown.cgi

See the other CGIs Japanese Page


Functions
    File uploader
  • File upload
  • Display a list of linked files
  • Deletable
  • Maximum upload file size can be set
  • Password protection
  • Easy setup
  • Choose open in new window or current window by extention set by admin when a link is clicked
  • Upload prohibit by extention set by admin
Installation
  1. Put updown.cgi into a CGI executable directory.
  2. Create a new directory where to store uploaded files.
  3. Modify the Perl path of the first line of the updown.cgi to match your server environment.
  4. Modify permission of updown.cgi properly.
  5. Once you open updown.cgi on your browser, you will be asked admin password. Please set it.
  6. Then new page will show up. Enter your password into the bottom of the textfield in the page and go to the setup page. Then setup environment.
  7. Now you can use the CGI as updown.
Security
    The permission of the updated files are automatically modified to 0666. However, any files can be updated by anyone. To have tight security, it is recommended to set prohibit extention in the setup page so that .cgi or .pl cannot be uploaded and the directory where the files will be stored should not be a CGI executable by server setting.
Maximum upload size
    There is no upload file size limitation by the CGI. You can set any number in the admin setup page. However the CGI use memory as much as the uploaded file. If it is too big, the server may encounter memory overflow. And if network does not have enough bandwidth, it may report a timeout. Please set proper upload limitation size depending on your server environment. Of course, it uses diskspace on the server as well.
Sample and Source
    Sample(ja) Sample of setup screen(ja)
    updown.cgi

    Support forum


Revision history
  • Ver. 2.071 : 1/25/06 : Added local time mode
  • Ver. 2.070 : 11/14/05 : Fixed upfile name processing
  • Ver. 2.069 : 10/6/05 : Added memer password
  • Ver. 2.068 : 10/1/05 : Added link to copyright
  • Ver. 2.067 : 9/24/05 : Modified to use original extention if it is omitted.
  • Ver. 2.066 : 9/22/05 : Added charset to Header
  • Ver. 2.065 : 9/10/05 : Added upload prohibit extention mode
  • Ver. 2.064 : 8/28/05 : Modified upload method
  • Ver. 2.063 : 8/25/05 : Modified to allow - in the upload file name. Deleted jcode.pl and cgi-lib.pl. Modified cyrpt.
  • Ver. 2.062 : 2/19/05 : Added link click option
  • Ver. 2.061 : 2/6/05 : Modified Location
  • Ver. 2.06 : 1/14/05 : Modified to record host names
  • Ver. 2.05 : 4/14/03 : Added admin setup page
  • Ver 2.04 : 3/31/03 : Added maximum file size limitaion option. Fixed bug. Added link to top
  • Ver 2.03 : 3/25/03 : Added copyright. Modified to use setupfile.
  • Ver 2.02 : 3/24/03 : Added error message when password is worng
  • Ver 2.01 : 1/28/03 : Fixed upload error in IE
  • Ver 2.0 : 11/26/02 : Added password function. Combine showdllst.pl and wrdllst.pl to updown.cgi