On Sat, 2001-12-15 at 09:51, Tomas Garcia Ferrari wrote: > My goal as web developer is to indicate an interest on a directory and if > a given user upload a picture to it, fire a program / script to downsizing, > rename it, etc, etc. I would need to port this as well to Mac OS X, so it > should be somehow open and portable... Now I'm trying to use Perl + > ImageMagick + PerlMagick to do this and using cron to check every minute or > so if new files were uploaded. But, as you said, polling is not the best way > around...
Why not support a file upload for the image and do your processing as it arrives. No polling would be necessary and it would happen as fast as possible.In addition, you can control what they upload by name/extension and size. I know php supports it, and I imagine it's also possible with a perl module. hth charles _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list