On 2006-01-02, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Oops. I did see some samples in the C::U::Cookbook. I guess I'm looking > for general file uploads (I don't need the image manipulation that is in > all the examples). Am looking to check for size, and trap errors in a > friendly way while uploading a file to the hard drive.
If you are already using Data::FormValidator (recommended), then check out the upload constraints: http://search.cpan.org/~markstos/Data-FormValidator-4.10/lib/Data/FormValidator/Constraints/Upload.pm Perhaps that's the core of what you'll need, along with using CGI.pm's upload() directly after you have validated the file. Mark --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
