How do you connect to the server to upload the files? If you use FTP then you should look at the
Net::FTP module. If uploading is done via browser then
WWW::Mechanize should be a good place to start. Databases can be queried and manipulated by using
DBI. Do you wish to edit these image prior to upload? I am curious as to why you have mentioned imagemagick.
Should you need help installing modules read
Installing Modules from the
tutorials section of this site.
Hope this helps
Update: Fixed typo.
Martin