From: Pen Ttt Date: 2010-08-31T11:32:04+09:00 Subject: how to get the table? please input in firefox,you can get the attachmeng http://www.sec.gov/cgi-bin/viewer?action=view&cik=804328&accession_number=0000950123-10-066837 i write the code: require 'rubygems' require 'open-uri' web='http://www.sec.gov/cgi-bin/viewer?action=view&cik=804328&accession_number=0000950123-10-066837' open('/tmp/file','w'){|wfile| open(web){|webfile| wfile.puts webfile.read}} what i get is not the attachment,can i write a program to get the contents of the attachment? any advice appriciated. Attachments: http://www.ruby-forum.com/attachment/4984/sec.jpg -- Posted via http://www.ruby-forum.com/.