Topic: attachment_fu via a url?

hi,
i am trying to save images by url addresses. i found a mephisto plugin that can rip images from an article by doing something like this:

          if img['src'].match(/^https?:\//) # save everything with a http://
           open img['src'] do |file|
             
             asset = site.assets.build(:filename => File.basename(img['src']), :temp_data => file.read, :content_type => file.content_type, :tag => 'remote')
             
             asset.save!
             
             body.gsub!(img['src'], asset.public_filename)
             
             self.body_html = FilteredColumn::Processor.process_filter(filter, body.dup)
             
             logger.debug "Replaced #{img['src']} with #{asset.public_filename}"
          end



any ideas on how to do this using fu? i have something like

    @tempval = params[:temp][:description]
 
    open @tempval do |file|
          @mugshot = Mugshot.new
          @mugshot.filename = File.basename( @tempval)
          .......   
         @mugshot.save 
       
    end

the ..... is my missing fuzzy area. i know there needs to be a read.file somewhere in there.
thanks!