Upload file size restriction in perl?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ronnil
    Recognized Expert New Member
    • Jun 2007
    • 134

    Upload file size restriction in perl?

    I usually code in php, I don't know much about perl, but php don't seem to be able to fulfill my needs.

    What i would like to do, is have a workaround for that annoying max_upload_size setting.

    Does perl have a configurable setting like that, or is it out of the serverdude's hands to control whatever size the file is?

    I've seen a lot of uploadscripts with perl, is it possible to write my own without the need of an already included library?

    Thirdly, if anyone have any good links about the question, please drop it here :)

    thanks in advance
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    I usually code in php,

    Sorry to hear that ;)


    Does perl have a configurable setting like that, or is it out of the serverdude's hands to control whatever size the file is?


    Perl puts no restrictions on file uploads but it does allow for it if you wanted to set a limit.

    I've seen a lot of uploadscripts with perl, is it possible to write my own without the need of an already included library?


    It is possible but there really is no need to. Use the CGI module for all your CGI form processing needs. With the CGI module you can set a file upload limit or disable it entirely if you want to. Or you can just let users upload whatever they want, but the http server still may have it's own restrictions.

    Thirdly, if anyone have any good links about the question, please drop it here :)

    perldoc
    perldoc: CGI documentation
    Beginning Perl

    Comment

    • ronnil
      Recognized Expert New Member
      • Jun 2007
      • 134

      #3
      thanks :) I will check into this

      Comment

      Working...