Could you process the images on the CGI server, FTP all the images to the destination server, then delete them from the CGI server? Is the drive space THAT limited?
Granted, it's not as elegant as printing filehandles over Net::FTP, but it gets the job done.